From 22d7c8bb5a05ee0f543d418362495520358e601e Mon Sep 17 00:00:00 2001
From: Silas Schöffel <sils@sils.li>
Date: Thu, 25 Jul 2024 08:36:30 +0200
Subject: initial commit

---
 headers/preamble_local.tex | 50 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 headers/preamble_local.tex

(limited to 'headers/preamble_local.tex')

diff --git a/headers/preamble_local.tex b/headers/preamble_local.tex
new file mode 100644
index 0000000..cfbc404
--- /dev/null
+++ b/headers/preamble_local.tex
@@ -0,0 +1,50 @@
+\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}{}{<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
+
-- 
cgit 1.4.1

