about summary refs log blame commit diff stats
path: root/headers/preamble_local.tex
blob: f47f6818c86d5e3fb54bfc73befdfb27f64931e4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17















                                                          
                
                                             
 
                                  
                                            
 
                                    
                                              
 
                 




                                   








                                    
 
                                                         
 
\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