diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-17 19:38:46 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-17 19:38:46 +0200 |
commit | 3f10e4758ca8eea873b423e4819f693b37dac8f5 (patch) | |
tree | 179668f993651824c81d7953d4381b7979e4bfcf /headers | |
parent | fix(satzung.tex): Remove excessive whitespace by `\input`ing the sections (diff) | |
download | satzung-3f10e4758ca8eea873b423e4819f693b37dac8f5.tar.gz satzung-3f10e4758ca8eea873b423e4819f693b37dac8f5.zip |
fix(header/preamble_local): Correctly use the command argument spec
Diffstat (limited to 'headers')
-rw-r--r-- | headers/preamble_local.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/headers/preamble_local.tex b/headers/preamble_local.tex index 1a16b1a..2c6b827 100644 --- a/headers/preamble_local.tex +++ b/headers/preamble_local.tex @@ -2,11 +2,11 @@ \NewDocumentCommand{\Verein}{}{Vereinsname} -\NewDocumentCommand{\sils}{m}{ - \todo[fancyline,color=green!15]{#1} +\NewDocumentCommand{\sils}{O{} m}{ + \todo[fancyline,color=green!15, #1]{#2} } -\NewDocumentCommand{\bpeetz}{m}{ - \todo[fancyline,color=blue!15]{#1} +\NewDocumentCommand{\bpeetz}{O{} m}{ + \todo[fancyline,color=blue!15, #1]{#2} } \newcounter{para} @@ -16,7 +16,7 @@ \paragraph{(\arabic{para})} } -\NewDocumentCommand{\sectionc}{O{}}{ +\NewDocumentCommand{\sectionc}{m}{ \section{#1} \setcounter{para}{0} } |