diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-07-30 14:18:36 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-07-30 14:18:36 +0200 |
commit | ee9bee6ebacd59c9554eb01b9087c43ddb5c169d (patch) | |
tree | f1e10735aa5638bab3a8cf287a1784dc5b9afa9e | |
parent | initial commit (diff) | |
download | wahlordnung-ee9bee6ebacd59c9554eb01b9087c43ddb5c169d.tar.gz wahlordnung-ee9bee6ebacd59c9554eb01b9087c43ddb5c169d.zip |
add `subparacount` macro
-rw-r--r-- | headers/preamble_local.tex | 5 |
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 |