From ee9bee6ebacd59c9554eb01b9087c43ddb5c169d Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 30 Jul 2024 14:18:36 +0200 Subject: add `subparacount` macro --- headers/preamble_local.tex | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit 1.4.1