aboutsummaryrefslogtreecommitdiff
path: root/zeitung/main.tex
diff options
context:
space:
mode:
Diffstat (limited to 'zeitung/main.tex')
-rw-r--r--zeitung/main.tex26
1 files changed, 23 insertions, 3 deletions
diff --git a/zeitung/main.tex b/zeitung/main.tex
index 7ee2c44..bb8e5ef 100644
--- a/zeitung/main.tex
+++ b/zeitung/main.tex
@@ -16,6 +16,7 @@
\usepackage{tabularx}
\usepackage{pgf-pie,qrcode}
\usepackage{etoolbox}
+\usepackage{pdfpages}
\usepackage[absolute,overlay]{textpos}
% Font % TODO: Colored emojis? (very hard)
@@ -44,6 +45,23 @@
\fi
}
+\newcommand\disableheader{
+ \backgroundsetup{contents={}}
+}
+
+\newcommand\enableheader{
+ \backgroundsetup{contents={\oddflip[keepaspectratio=true, width=\paperwidth]{kordel.png}},scale=1.1,placement=top,opacity=1,position={0.4\textwidth, 3.3cm}}
+}
+
+% Advertisements
+\newcommand\advert[1]{
+ \newpage
+ \disableheader
+ \thispagestyle{empty}
+ \includepdf[noautoscale=true,width=\paperwidth]{parts/advertisements/#1.pdf}
+ \enableheader
+}
+
% Header & footer
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
@@ -97,9 +115,10 @@
%\maketitle
-\backgroundsetup{contents={}}
+\disableheader
\part{titlepage}
-\backgroundsetup{contents={\oddflip[keepaspectratio=true, width=\paperwidth]{kordel.png}},scale=1.1,placement=top,opacity=1,position={0.4\textwidth, 3.3cm}}
+\enableheader
+\advert{asb}
\part{tableofcontents}
\part{introduction}
\part{classphoto}
@@ -108,14 +127,15 @@
\part{teacherranking}
\part{secrets}
\part{classoverview}
+\advert{ihk}
\part{studentprofiles}
\part{studentranking}
+\advert{uni-ulm}
\part{photos}
\part{trips}
\part{courseoverview}
\part{committeeoverview}
\part{conclusion}
-\part{advertisements}
\part{imprint}
\end{document}