1 \RequirePackage{snapshot} % stats of included files: $filename.dep
3 \documentclass[10pt,a5paper,twoside,openright,twocolumn,ngerman]{book}
4 \usepackage[ngerman]{babel}
6 %%%%% Formatting and encoding %%%%%
8 \usepackage[T1]{fontenc}
9 \usepackage[utf8]{inputenc}
12 \usepackage[columnsep=.75cm,lmargin=.75cm,rmargin=.75cm,tmargin=1.5cm,bmargin=1.5cm]{geometry}
13 \setlength{\parindent}{0pt}
21 \renewcommand{\chaptermark}[1]{ \markboth{#1}{} }
22 \fancyhead[LE,RO]{\leftmark}
23 \fancyfoot[LE,RO]{\thepage}
25 % Use sans serif font.
26 \renewcommand*{\familydefault}{\sfdefault}
28 % change heading fontsizes.
30 \subsectionfont{\normalsize}
31 \subsubsectionfont{\small}
34 % Create \Hide command (used for chapters)
35 \usepackage[explicit]{titlesec}
36 \newcommand*\Hide{\titleformat{\chapter}[display]{}{}{0pt}{\Huge}\titleformat{\part}{}{}{0pt}{}}
38 % inhibit creation of new double page on new chapter.
41 \patchcmd{\chapter}{\if@openright\cleardoublepage\else\clearpage\fi}{}{}{}
44 % change heading margins.
45 \titlespacing*{\chapter}{0pt}{0pt}{-40pt}
46 \titlespacing*{\section}{0pt}{9pt}{3pt}
47 \titlespacing*{\subsection}{0pt}{6pt}{0pt}
48 \titlespacing*{\subsubsection}{0pt}{0pt}{0pt}
50 % make \paragraph do newlines
52 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}
53 {-.75ex \@plus -1ex \@minus -0.2ex}
55 {\normalfont\normalsize\bfseries}
60 % inhibit "Contents" Head in TOC
62 \renewcommand\tableofcontents{\@starttoc{toc}}
65 %make toc consider Chapter and section only.
66 \setcounter{tocdepth}{1}
68 % disable chapter, section, ... numbering
69 \setcounter{secnumdepth}{-1}
71 % change margin above chapter.
72 \usepackage[titles]{tocloft}
73 \setlength{\cftbeforechapskip}{4pt}
76 % make footnote numbering reset on every page.
77 \usepackage[hang,flushmargin,perpage]{footmisc}
78 %%%%% / Formatting %%%%%
80 % includable git commit info
81 \usepackage[missing=run\ build.sh\ or\ gitinfohook.sh]{gitinfo}
83 % Fürs "last generated" Datum
84 \usepackage[iso]{isodate}
87 \usepackage[absolute]{textpos}
89 \DeclareGraphicsExtensions{.pdf,.png,.jpg}
91 % clickable references/links/...
96 \DeclareUnicodeCharacter{20AC}{\euro}
99 \usepackage[framemethod=default]{mdframed}
100 \newmdenv[linecolor=red,backgroundcolor=white]{whiteframe}
101 \newmdenv[linecolor=red,backgroundcolor=yellow]{yellowframe}
104 \usepackage[babel,german=quotes]{csquotes}
108 \begin{document}\thispagestyle{empty}
109 \begin{textblock*}{\paperwidth}(0mm,0mm)\noindent\includegraphics[width=\paperwidth,height=\paperheight]{images/cover_front.png}
113 %hack to have more characters per page.
117 \thispagestyle{empty}
118 \input{articles/_adressen.tex}\vspace{\fill}\newpage
121 \thispagestyle{empty}
122 \input{articles/_impressum.tex}
125 \url{https://git.somenet.org/fsinf/basics.git}\\
126 Current maintainer: \href{mailto:someone@fsinf.at}{someone@fsinf.at}\\
127 This is revision: \textbf{\gitAbbrevHash}\\
128 Document (.tex) compiled on: \textbf{\today}
129 \end{footnotesize}\vspace{\fill}\newpage
131 \section*{Inhalt}\begin{footnotesize}\tableofcontents\end{footnotesize}\vspace{\fill}\newpage
132 % header.maxsize: 3 (3) pages.
134 % chapter.maxsize: 2 (5) pages.
135 \clearpage\Hide\chapter{Einleitung}\thispagestyle{fancy}
136 \input{articles/die_fsinf.tex}\vspace{\fill}\newpage
138 % chapter.maxsize: 8 (13) pages.
139 \clearpage\Hide\chapter{Erstes Semester}\thispagestyle{fancy}
140 \input{articles/es_prolog.tex}\vspace{\fill}\newpage
141 \input{articles/es_estuts.tex}\vspace{\fill}\newpage
142 \input{articles/es_stundenplan.tex}\vspace{\fill}\newpage
143 \input{articles/es_aufbau_des_studiums.tex}\vspace{\fill}\newpage
144 \input{articles/es_lvas.tex}\vspace{\fill}\newpage
145 \input{articles/es_steop.tex}\vspace{\fill}\newpage
146 \input{articles/es_ticket.tex}\vspace{\fill}\newpage
148 % chapter.maxsize: 6 (19) pages.
149 \clearpage\Hide\chapter{Unialltag}\thispagestyle{fancy}
150 \input{articles/unialltag_bibliothek.tex}\vspace{\fill}\newpage
151 \input{articles/unialltag_lernraume.tex}\vspace{\fill}\newpage
152 \input{articles/unialltag_zid.tex}\vspace{\fill}\newpage
154 \input{articles/unialltag_tiss.tex}\vspace{\fill}\newpage
156 \input{articles/unialltag_vowi.tex}\vspace{\fill}\newpage
158 % chapter.maxsize: 4 (23) pages.
159 \clearpage\Hide\chapter{Uni für Fortgeschrittene}\thispagestyle{fancy}
160 \input{articles/advuni_anerkennung.tex}\vspace{\fill}\newpage
161 \input{articles/advuni_mitbelegen.tex}\vspace{\fill}\newpage
162 \input{articles/advuni_pruefungsrecht.tex}\vspace{\fill}\newpage
163 \input{articles/advuni_erasmus.tex}\vspace{\fill}\newpage
165 % chapter.maxsize: 6 (29) pages.
166 \clearpage\Hide\chapter{Finanzierung}\thispagestyle{fancy}
167 \input{articles/finanz_allgemein.tex}\vspace{\fill}\newpage
168 \input{articles/finanz_familienbeihilfe.tex}\vspace{\fill}\newpage
169 \input{articles/finanz_studienbeihilfe.tex}\vspace{\fill}\newpage
170 \input{articles/finanz_studiengebuehren.tex}\vspace{\fill}\newpage
171 \input{articles/finanz_studarb.tex}\vspace{\fill}\newpage
172 \input{articles/finanz_stipendium.tex}\vspace{\fill}\newpage
174 % cover.maxsize: 1 (30) pages.
177 \mbox{}\thispagestyle{empty}
178 \begin{tiny}\begin{center}\noindent\includegraphics[width=0.9\columnwidth]{fillers/commitstrip_in_a_paralell_universe2.jpg}\newline\url{http://www.commitstrip.com/en/2015/09/17/meanwhile-in-a-parallel-universe-2/}\\Meanwhile, in a parallel universe…\end{center}\end{tiny}
182 % cover.maxsize: 2 (32) pages.
185 \begin{tiny}\begin{center}\noindent\includegraphics[width=\columnwidth]{fillers/xkcd_1357.png}\newline\url{http://xkcd.com/1357/} (CC BY-NC 2.5)\end{center}\end{tiny}
187 \mbox{}\thispagestyle{empty}
189 \mbox{}\thispagestyle{empty}
190 \begin{textblock*}{\paperwidth}(0mm,0mm)\noindent\includegraphics[width=\paperwidth,height=\paperheight]{images/cover_back.png}