diff options
author | Silas Schöffel <sils@sils.li> | 2024-07-25 08:36:30 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2025-03-10 21:24:36 +0100 |
commit | 28e4fd43b4f92dab2504e336879ac88e0e0b7b94 (patch) | |
tree | e3668f6e54fdab4b382eeaf83e8713c17f158abc /headers/preamble_local.tex | |
download | geschaeftsordnung_der_administration-main.zip |
Diffstat (limited to 'headers/preamble_local.tex')
-rw-r--r-- | headers/preamble_local.tex | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/headers/preamble_local.tex b/headers/preamble_local.tex new file mode 100644 index 0000000..103e1c3 --- /dev/null +++ b/headers/preamble_local.tex @@ -0,0 +1,51 @@ +\usepackage{titlesec} +\usepackage{titletoc} +\usepackage[german]{todonotes} + +\titleformat +{\section} +{\normalfont\Large\bfseries} +{\S \thesection} +{1em} +{} + +\titlecontents{section} +[0em] +{} +{\contentslabel[\S\hspace{0.2em}\thecontentslabel]{2.3em}} +{\hspace{-2.3em}} +{\titlerule*[1pc]{.}\contentspage} + +\usepackage{nag} + +\NewDocumentCommand{\Verein}{}{Geschäftsordnung der Administration von FOSS +Syndicate e.V.} + +\NewDocumentCommand{\sils}{O{} m}{ + \todo[color=green!35, #1]{Silas: #2} +} +\NewDocumentCommand{\bpeetz}{O{} m}{ + \todo[color=blue!35, #1]{Benedikt: #2} +} + +\newcounter{para} + +\NewDocumentCommand{\paracount}{}{ + \stepcounter{para} + \paragraph{(\arabic{para})} +} + +\NewDocumentCommand{\sectionc}{sm}{ + \IfBooleanTF#1 + { + \section*{#2} + \setcounter{para}{0} + } + { + \section{#2} + \setcounter{para}{0} + } +} + +\usepackage{enumitem} % For the enumerations with letters + |