aboutsummaryrefslogtreecommitdiff
path: root/zeitung
diff options
context:
space:
mode:
Diffstat (limited to 'zeitung')
-rw-r--r--zeitung/main.tex18
-rw-r--r--zeitung/parts/advertisements.tex3
-rw-r--r--zeitung/parts/citations.tex3
-rw-r--r--zeitung/parts/classoverview.tex3
-rw-r--r--zeitung/parts/classphoto.tex3
-rw-r--r--zeitung/parts/committeeoverview.tex3
-rw-r--r--zeitung/parts/conclusion.tex3
-rw-r--r--zeitung/parts/courseoverview.tex3
-rw-r--r--zeitung/parts/imprint.tex3
-rw-r--r--zeitung/parts/introduction.tex2
-rw-r--r--zeitung/parts/photos.tex3
-rw-r--r--zeitung/parts/questionnaire.tex3
-rw-r--r--zeitung/parts/secrets.tex3
-rw-r--r--zeitung/parts/studentprofiles.tex2
-rw-r--r--zeitung/parts/studentranking.tex3
-rw-r--r--zeitung/parts/tableofcontents.tex5
-rw-r--r--zeitung/parts/teacherprofiles.tex3
-rw-r--r--zeitung/parts/teacherranking.tex3
-rw-r--r--zeitung/parts/trips.tex3
19 files changed, 54 insertions, 18 deletions
diff --git a/zeitung/main.tex b/zeitung/main.tex
index 7f655f9..d52be97 100644
--- a/zeitung/main.tex
+++ b/zeitung/main.tex
@@ -11,6 +11,7 @@
\usepackage{tikz,float}
\usepackage{svg,lipsum}
\usepackage{eso-pic}
+\usepackage{fancyhdr}
% Font
\setmainfont{"[font.ttf]"}
@@ -23,6 +24,23 @@
% Figures
\graphicspath{{figures/}}
+% Header & footer
+\renewcommand{\footrulewidth}{0pt}
+\pagestyle{fancy}
+\fancyheadoffset{2.5cm}
+\fancyfootoffset{2.5cm}
+\fancyhf{}
+\fancyhead[L]{\hspace*{1cm}\huge{\leftmark}}
+%\fancyhead[R]{Abitur 2021}
+\lfoot{\hspace*{1cm}\huge{\thepage}}
+
+% Custom title command for header
+\renewcommand{\title}[1]{
+ \par\refstepcounter{section}
+ \sectionmark{#1}
+ \addcontentsline{toc}{section}{\protect\numberline{\thesection}#1}
+}
+
\begin{document}
\title{ABI Zeitung 2021}
diff --git a/zeitung/parts/advertisements.tex b/zeitung/parts/advertisements.tex
index bc8ef92..56eaaa5 100644
--- a/zeitung/parts/advertisements.tex
+++ b/zeitung/parts/advertisements.tex
@@ -1 +1,2 @@
-\section{Werbung}
+\title{Werbung}
+\lipsum[1-2]
diff --git a/zeitung/parts/citations.tex b/zeitung/parts/citations.tex
index e3a1631..62e23e5 100644
--- a/zeitung/parts/citations.tex
+++ b/zeitung/parts/citations.tex
@@ -1 +1,2 @@
-\section{Zitate}
+\title{Zitate}
+\lipsum[1-2]
diff --git a/zeitung/parts/classoverview.tex b/zeitung/parts/classoverview.tex
index 0a7c10e..4e9c0eb 100644
--- a/zeitung/parts/classoverview.tex
+++ b/zeitung/parts/classoverview.tex
@@ -1 +1,2 @@
-\section{Klassenseiten}
+\title{Klassenseiten}
+\lipsum[1-2]
diff --git a/zeitung/parts/classphoto.tex b/zeitung/parts/classphoto.tex
index 9b469f6..991ac37 100644
--- a/zeitung/parts/classphoto.tex
+++ b/zeitung/parts/classphoto.tex
@@ -1 +1,2 @@
-\section{Stufenfoto}
+\title{Stufenfoto}
+\lipsum[1-2]
diff --git a/zeitung/parts/committeeoverview.tex b/zeitung/parts/committeeoverview.tex
index 949d00e..4a06348 100644
--- a/zeitung/parts/committeeoverview.tex
+++ b/zeitung/parts/committeeoverview.tex
@@ -1 +1,2 @@
-\section{Abikomitee}
+\title{Abikomitee}
+\lipsum[1-2]
diff --git a/zeitung/parts/conclusion.tex b/zeitung/parts/conclusion.tex
index c48ad89..22492dc 100644
--- a/zeitung/parts/conclusion.tex
+++ b/zeitung/parts/conclusion.tex
@@ -1 +1,2 @@
-\section{Schlusswort} % Neuer Lebensabschnitt
+\title{Schlusswort} % Neuer Lebensabschnitt
+\lipsum[1-2]
diff --git a/zeitung/parts/courseoverview.tex b/zeitung/parts/courseoverview.tex
index 88b7f4d..c9a7d0d 100644
--- a/zeitung/parts/courseoverview.tex
+++ b/zeitung/parts/courseoverview.tex
@@ -1 +1,2 @@
-\section{Kurse}
+\title{Kurse}
+\lipsum[1-2]
diff --git a/zeitung/parts/imprint.tex b/zeitung/parts/imprint.tex
index cbf2107..124dc43 100644
--- a/zeitung/parts/imprint.tex
+++ b/zeitung/parts/imprint.tex
@@ -1 +1,2 @@
-\section{Impressum}
+\title{Impressum}
+\lipsum[1-2]
diff --git a/zeitung/parts/introduction.tex b/zeitung/parts/introduction.tex
index ffc1442..100ed48 100644
--- a/zeitung/parts/introduction.tex
+++ b/zeitung/parts/introduction.tex
@@ -1,2 +1,2 @@
-\section{Vorwort}
+\title{Vorwort}
Heeerzlich willkommen!
diff --git a/zeitung/parts/photos.tex b/zeitung/parts/photos.tex
index d382f6e..fd546bf 100644
--- a/zeitung/parts/photos.tex
+++ b/zeitung/parts/photos.tex
@@ -1 +1,2 @@
-\section{Fotos}
+\title{Fotos}
+\lipsum[1-2]
diff --git a/zeitung/parts/questionnaire.tex b/zeitung/parts/questionnaire.tex
index b8ffc47..dad999a 100644
--- a/zeitung/parts/questionnaire.tex
+++ b/zeitung/parts/questionnaire.tex
@@ -1 +1,2 @@
-\section{Prozent-Fragen}
+\title{Prozent-Fragen}
+\lipsum[1-2]
diff --git a/zeitung/parts/secrets.tex b/zeitung/parts/secrets.tex
index 6bff959..323595d 100644
--- a/zeitung/parts/secrets.tex
+++ b/zeitung/parts/secrets.tex
@@ -1 +1,2 @@
-\section{Es ist kein Geheimnis, dass...}
+\title{Es ist kein Geheimnis, dass...}
+\lipsum[1-2]
diff --git a/zeitung/parts/studentprofiles.tex b/zeitung/parts/studentprofiles.tex
index 333097a..f48e498 100644
--- a/zeitung/parts/studentprofiles.tex
+++ b/zeitung/parts/studentprofiles.tex
@@ -1,4 +1,4 @@
-\section{Schülersteckbriefe}
+\title{Schülersteckbriefe}
Blabla irgendwas über Schüler und so
\newpage
diff --git a/zeitung/parts/studentranking.tex b/zeitung/parts/studentranking.tex
index e870136..de4b574 100644
--- a/zeitung/parts/studentranking.tex
+++ b/zeitung/parts/studentranking.tex
@@ -1 +1,2 @@
-\section{Schülerranking}
+\title{Schülerranking}
+\lipsum[1-2]
diff --git a/zeitung/parts/tableofcontents.tex b/zeitung/parts/tableofcontents.tex
index 592c1b9..e8b1d0f 100644
--- a/zeitung/parts/tableofcontents.tex
+++ b/zeitung/parts/tableofcontents.tex
@@ -1 +1,4 @@
-\tableofcontents
+\title{Inhaltsverzeichnis}
+\makeatletter
+\@starttoc{toc}
+\makeatother
diff --git a/zeitung/parts/teacherprofiles.tex b/zeitung/parts/teacherprofiles.tex
index 7661d0e..cccd375 100644
--- a/zeitung/parts/teacherprofiles.tex
+++ b/zeitung/parts/teacherprofiles.tex
@@ -1 +1,2 @@
-\section{Lehrersteckbriefe}
+\title{Lehrersteckbriefe}
+\lipsum[1-2]
diff --git a/zeitung/parts/teacherranking.tex b/zeitung/parts/teacherranking.tex
index 3b981f5..67b66a3 100644
--- a/zeitung/parts/teacherranking.tex
+++ b/zeitung/parts/teacherranking.tex
@@ -1 +1,2 @@
-\section{Lehrerranking}
+\title{Lehrerranking}
+\lipsum[1-2]
diff --git a/zeitung/parts/trips.tex b/zeitung/parts/trips.tex
index c98d1ca..19161ee 100644
--- a/zeitung/parts/trips.tex
+++ b/zeitung/parts/trips.tex
@@ -1 +1,2 @@
-\section{Ausflüge} % Schullandheime und so
+\title{Ausflüge} % Schullandheime und so
+\lipsum[1-2]