From b08e060d56436ba6f43d7a5d8d354b901549107a Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Tue, 23 Jan 2024 00:49:04 +0100 Subject: [PATCH] add \areaMap command --- layout.sty | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/layout.sty b/layout.sty index e2c96b8d..43664313 100644 --- a/layout.sty +++ b/layout.sty @@ -1080,6 +1080,16 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west) \fi } +\newcommand\mapArea[3][]{ + \ifglsentryexists{#1}{ + \subsection[#3]{\glsentrytext{#1}~#3~\glsentrytext{#1}} + \label{#2} + }{ + \subsection{#3} + \label{#2} + } +} + \newcommand{\mapentry}[2][]{ \needspace{2em} \refstepcounter{list} -- GitLab