summary refs log tree commit diff stats
path: root/headers
diff options
context:
space:
mode:
Diffstat (limited to 'headers')
-rw-r--r--headers/preamble_local.tex23
1 files changed, 18 insertions, 5 deletions
diff --git a/headers/preamble_local.tex b/headers/preamble_local.tex
index aed79f3..1a16b1a 100644
--- a/headers/preamble_local.tex
+++ b/headers/preamble_local.tex
@@ -1,11 +1,24 @@
 \usepackage{nag}
 
-\newcommand{\Verein}{Vereinsname}
-\newcommand\sils[1]{\todo[fancyline,color=green!15]{#1}}
-\newcommand\bpeetz[1]{\todo[fancyline,color=blue!15]{#1}}
+\NewDocumentCommand{\Verein}{}{Vereinsname}
+
+\NewDocumentCommand{\sils}{m}{
+	\todo[fancyline,color=green!15]{#1}
+}
+\NewDocumentCommand{\bpeetz}{m}{
+	\todo[fancyline,color=blue!15]{#1}
+}
 
 \newcounter{para}
-\newcommand{\paracount}{\stepcounter{para}\paragraph{(\arabic{para})}}
-\newcommand{\sectionc}[1]{\section{#1}\setcounter{para}{0}}
+
+\NewDocumentCommand{\paracount}{}{
+	\stepcounter{para}
+	\paragraph{(\arabic{para})}
+}
+
+\NewDocumentCommand{\sectionc}{O{}}{
+	\section{#1}
+	\setcounter{para}{0}
+}
 
 \usepackage{enumitem} % For the enumerations with letters