From 857f856f3601dfb262337e452a3e7a3ada25768a Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Sat, 4 Feb 2023 04:30:54 +0100
Subject: [PATCH] document \mapentry with label option

---
 docs.tex | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs.tex b/docs.tex
index 7452c886..8d3c21cf 100644
--- a/docs.tex
+++ b/docs.tex
@@ -376,6 +376,17 @@ And charts about roll successes like this:
 \end{rollchart}
 
 
+\subsection{Making Maps}
+
+Make all maps under some subsection, then start the individual map entry like this: \verb"\mapentry[docGift]{Documentation Giftschrank}".
+
+The first (optional) argument, will become the label.
+The second is the area's title.
+
+\mapentry[docGift]{Documentation Giftschrank}
+
+You can refer to it with \verb"\nameref{docGift}", such as ``see room number \ref{docGift}''.
+
 \end{multicols}
 
 \begin{multicols}{2}
-- 
GitLab