From 3f10e4758ca8eea873b423e4819f693b37dac8f5 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 17 Jun 2024 19:38:46 +0200 Subject: fix(header/preamble_local): Correctly use the command argument spec --- headers/preamble_local.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'headers') 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} } -- cgit 1.4.1