diff --git a/layout.sty b/layout.sty index 4c67696ec53dc8b4428f07e78d5cb6975535e2e2..9e02b34cc7373eb85ff1bdd096b1cb44ae14fc8c 100644 --- a/layout.sty +++ b/layout.sty @@ -260,6 +260,30 @@ bookmarks=true]% \end{figure*} } +\newcommand\mapLegend[3]{ + \node [black, font=\bfseries] at (#1,#2) {\huge #3}; +} + +\newcommand\mapPic[2]{ + \begin{figure*}[t!] + \begin{tikzpicture}[every shadow/.style={ + shadow blur invert, + shadow xshift=-1pt, + shadow yshift=-3pt + }] + \node[anchor=south west,inner sep=0] (image) at (0,0) {\includesvg[width=\textwidth]{#1}}; + \begin{scope}[ + x={(image.south east)}, + y={(image.north west)} + ] + \foreach \mX/\mY/\mNum in {#2}{ + \mapLegend{\mX}{\mY}{\mNum} + } + \end{scope} + \end{tikzpicture} + \end{figure*} +} + \newcounter{blingNo} \setcounter{blingNo}{0}