summary refs log tree commit diff stats
path: root/headers/preamble_local.tex
blob: 9091e3bb1b22ca5903458bb35ce78d09c276b491 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
\usepackage{titlesec}
\usepackage{titletoc}

\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}{}{Vereinsname}

\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