summary refs log tree commit diff stats
path: root/headers/preamble_local.tex
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-07-30 14:18:36 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-07-30 14:18:36 +0200
commitee9bee6ebacd59c9554eb01b9087c43ddb5c169d (patch)
treef1e10735aa5638bab3a8cf287a1784dc5b9afa9e /headers/preamble_local.tex
parentinitial commit (diff)
downloadwahlordnung-ee9bee6ebacd59c9554eb01b9087c43ddb5c169d.tar.gz
wahlordnung-ee9bee6ebacd59c9554eb01b9087c43ddb5c169d.zip
add `subparacount` macro
Diffstat (limited to 'headers/preamble_local.tex')
-rw-r--r--headers/preamble_local.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/headers/preamble_local.tex b/headers/preamble_local.tex
index cfbc404..7483093 100644
--- a/headers/preamble_local.tex
+++ b/headers/preamble_local.tex
@@ -28,11 +28,16 @@
 }
 
 \newcounter{para}
+\newcounter{subPara}
 
 \NewDocumentCommand{\paracount}{}{
 	\stepcounter{para}
 	\paragraph{(\arabic{para})}
 }
+\NewDocumentCommand{\subparacount}{}{
+	\stepcounter{subPara}
+	\subparagraph{(\arabic{para}.\arabic{subPara})}
+}
 
 \NewDocumentCommand{\sectionc}{sm}{
 	\IfBooleanTF#1