From dcfee9b5a29d041fa86df279a8a6b8ead34f3dfb Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Mon, 30 Jan 2023 11:27:26 +0100 Subject: [PATCH] add smol map option --- layout.sty | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/layout.sty b/layout.sty index f4c812b6..84e9943a 100644 --- a/layout.sty +++ b/layout.sty @@ -289,6 +289,22 @@ bookmarks=true]% \end{figure*} } +\newcommand\smolMapPic[3][\Huge]{ + \begin{tikzpicture} + \node[anchor=south west,inner sep=0] (image) at (0,0) {\pic{#2}}; + \begin{scope}[ + x={(image.south east)}, + y={(image.north west)} + ] + \foreach \mNum/\mX/\mY in {#3}{ + \mapLegend{\outline{\mNum}}{\mX}{\mY}{#1} + } + \end{scope} + \end{tikzpicture} + \label{#2} +} + + \newcounter{blingNo} \setcounter{blingNo}{0} -- GitLab