]> git.somenet.org - fsinf/basics.git/blob - basics.tex
update git url
[fsinf/basics.git] / basics.tex
1 \RequirePackage{snapshot} % stats of included files: $filename.dep
2
3 \documentclass[10pt,a5paper,twoside,openright,twocolumn,ngerman]{book}
4 \usepackage[ngerman]{babel}
5
6 %%%%% Formatting and encoding %%%%%
7 % encoding
8 \usepackage[T1]{fontenc}
9 \usepackage[utf8]{inputenc}
10
11 % page
12 \usepackage[columnsep=.75cm,lmargin=.75cm,rmargin=.75cm,tmargin=1.5cm,bmargin=1.5cm]{geometry}
13 \setlength{\parindent}{0pt}
14
15 \usepackage{fancyhdr}
16 \pagestyle{fancy}
17 \lhead{}
18 \chead{}
19 \rhead{}
20 \cfoot{}
21 \renewcommand{\chaptermark}[1]{ \markboth{#1}{} }
22 \fancyhead[LE,RO]{\leftmark}
23 \fancyfoot[LE,RO]{\thepage}
24
25 % Use sans serif font.
26 \renewcommand*{\familydefault}{\sfdefault}
27
28 % change heading fontsizes.
29 \usepackage{sectsty}
30 \subsectionfont{\normalsize}
31 \subsubsectionfont{\small}
32
33 % \chapter hacks
34 % Create \Hide command (used for chapters)
35 \usepackage[explicit]{titlesec}
36 \newcommand*\Hide{\titleformat{\chapter}[display]{}{}{0pt}{\Huge}\titleformat{\part}{}{}{0pt}{}}
37
38 % inhibit creation of new double page on new chapter.
39 \usepackage{etoolbox}
40 \makeatletter
41 \patchcmd{\chapter}{\if@openright\cleardoublepage\else\clearpage\fi}{}{}{}
42 \makeatother
43
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}
49
50 % make \paragraph do newlines
51 \makeatletter
52 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}
53   {-.75ex \@plus -1ex \@minus -0.2ex}
54   {0.01pt}
55   {\normalfont\normalsize\bfseries}
56 }
57 \makeatother
58
59 %%% TOC changes %%%
60 % inhibit "Contents" Head in TOC
61 \makeatletter
62 \renewcommand\tableofcontents{\@starttoc{toc}}
63 \makeatother
64
65 %make toc consider Chapter and section only.
66 \setcounter{tocdepth}{1}
67
68 % disable chapter, section, ... numbering
69 \setcounter{secnumdepth}{-1}
70
71 % change margin above chapter.
72 \usepackage[titles]{tocloft}
73 \setlength{\cftbeforechapskip}{4pt}
74 %%% /TOC changes %%%
75
76 % make footnote numbering reset on every page.
77 \usepackage[hang,flushmargin,perpage]{footmisc}
78 %%%%% / Formatting %%%%%
79
80 % includable git commit info
81 \usepackage[missing=run\ build.sh\ or\ gitinfohook.sh]{gitinfo}
82
83 % Fürs "last generated" Datum
84 \usepackage[iso]{isodate}
85
86 % Image import stuff
87 \usepackage[absolute]{textpos}
88 \usepackage{graphicx}
89 \DeclareGraphicsExtensions{.pdf,.png,.jpg}
90
91 % clickable references/links/...
92 \usepackage{hyperref}
93
94 % euro-sign
95 \usepackage{eurosym}
96 \DeclareUnicodeCharacter{20AC}{\euro}
97
98 % frames
99 \usepackage[framemethod=default]{mdframed}
100 \newmdenv[linecolor=red,backgroundcolor=white]{whiteframe}
101 \newmdenv[linecolor=red,backgroundcolor=yellow]{yellowframe}
102
103 % quotes
104 \usepackage[babel,german=quotes]{csquotes}
105
106
107 % START DOCUMENT
108 \begin{document}\thispagestyle{empty}
109 \begin{textblock*}{\paperwidth}(0mm,0mm)\noindent\includegraphics[width=\paperwidth,height=\paperheight]{images/cover_front.png}
110 \end{textblock*}
111 \mbox{}\newpage
112
113 %hack to have more characters per page.
114 \small
115
116 \onecolumn
117 \thispagestyle{empty}
118 \input{articles/_adressen.tex}\vspace{\fill}\newpage
119
120 \twocolumn
121 \thispagestyle{empty}
122 \input{articles/_impressum.tex}
123 \subsection{Version}
124 \begin{footnotesize}
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
130
131 \section*{Inhalt}\begin{footnotesize}\tableofcontents\end{footnotesize}\vspace{\fill}\newpage
132 % header.maxsize: 3 (3) pages.
133
134 % chapter.maxsize: 2 (5) pages.
135 \clearpage\Hide\chapter{Einleitung}\thispagestyle{fancy}
136 \input{articles/die_fsinf.tex}\vspace{\fill}\newpage
137
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
147
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
153 \onecolumn
154 \input{articles/unialltag_tiss.tex}\vspace{\fill}\newpage
155 \twocolumn
156 \input{articles/unialltag_vowi.tex}\vspace{\fill}\newpage
157
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
164
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
173
174 % cover.maxsize: 1 (30) pages.
175 \clearpage
176 \onecolumn
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}
179 \vspace{\fill}
180 \newpage
181
182 % cover.maxsize: 2 (32) pages.
183 \clearpage
184 \onecolumn
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}
186
187 \mbox{}\thispagestyle{empty}
188 \clearpage
189 \mbox{}\thispagestyle{empty}
190 \begin{textblock*}{\paperwidth}(0mm,0mm)\noindent\includegraphics[width=\paperwidth,height=\paperheight]{images/cover_back.png}
191 \end{textblock*}
192 \end{document}