summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--headers/preamble_local.tex23
-rw-r--r--satzung.tex10
2 files changed, 23 insertions, 10 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
diff --git a/satzung.tex b/satzung.tex
index b177042..8f343f5 100644
--- a/satzung.tex
+++ b/satzung.tex
@@ -1,16 +1,17 @@
 % LTeX: language=de-DE
+\documentclass{scrartcl}
 
 \input{headers/preamble.tex}
 \input{headers/preamble_local.tex}
 
 \title{Satzung}
-\author{%VEREINSNAHME% \\
-\href{mailto:%VEREINSEMAIL%}{%VEREINSEMAIL%}\\[1cm]}
+\author{\Verein}
+
 \date{\DTMToday}
 
 % For the copyright section
 \years{2024}
-\authors{%VEREINSNAHME%}
+\authors{\Verein}
 
 \makeatletter
 \hypersetup{
@@ -26,8 +27,6 @@
 \makeatother
 
 
-% \includeonly{content/04_name_und_sitz_des_vereins_geschäftsjahr/chapter.tex}
-
 \begin{document}
 \input{content/static/title}
 
@@ -35,6 +34,7 @@
 
 \setcounter{section}{0}
 \renewcommand{\thesection}{§ \arabic{section}}
+
 \include{content/02_name_und_sitz_des_vereins_geschaeftsjahr/chapter.tex}
 \include{content/03_ziele_und_taetigkeiten_des_vereins/chapter.tex}
 \include{content/04_erwerb_der_mitgliedschaft/chapter.tex}