]> git.somenet.org - fsinf/basics.git/blob - basics.tex
Impressumstext upgedatet. Sehschwierigkeiten entfernt, dafür Link größer gemacht.
[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{http://git.somenet.org/?p=fsinf/basics.git}\\
126 \url{ssh://git@git.somenet.org:2/fsinf/basics}\\
127 Current maintainer: \href{mailto:someone@fsinf.at}{someone@fsinf.at}\\
128 This is revision: \textbf{\gitAbbrevHash}\\
129 Document (.tex) compiled on: \textbf{\today}
130 \end{footnotesize}\vspace{\fill}\newpage
131
132 \section*{Inhalt}\begin{footnotesize}\tableofcontents\end{footnotesize}\vspace{\fill}\newpage
133 % header.maxsize: 3 (3) pages.
134
135 % chapter.maxsize: 2 (5) pages.
136 \clearpage\Hide\chapter{Einleitung}\thispagestyle{fancy}
137 \input{articles/die_fsinf.tex}\vspace{\fill}\newpage
138
139 % chapter.maxsize: 8 (13) pages.
140 \clearpage\Hide\chapter{Erstes Semester}\thispagestyle{fancy}
141 \input{articles/es_bday.tex}\vspace{\fill}\newpage
142 \input{articles/es_prolog.tex}\vspace{\fill}\newpage
143 \input{articles/es_estuts.tex}\vspace{\fill}\newpage
144 \input{articles/es_stundenplan.tex}\vspace{\fill}\newpage
145 \input{articles/es_aufbau_des_studiums.tex}\vspace{\fill}\newpage
146 \input{articles/es_lvas.tex}\vspace{\fill}\newpage
147 \input{articles/es_steop.tex}\vspace{\fill}\newpage
148 \input{articles/es_ticket.tex}\vspace{\fill}\newpage
149
150 % chapter.maxsize: 6 (19) pages.
151 \clearpage\Hide\chapter{Unialltag}\thispagestyle{fancy}
152 \input{articles/unialltag_bibliothek.tex}\vspace{\fill}\newpage
153 \input{articles/unialltag_lernraume.tex}\vspace{\fill}\newpage
154 \input{articles/unialltag_zid.tex}\vspace{\fill}\newpage
155 \onecolumn
156 \input{articles/unialltag_tiss.tex}\vspace{\fill}\newpage
157 \twocolumn
158 \input{articles/unialltag_vowi.tex}\vspace{\fill}\newpage
159
160 % chapter.maxsize: 4 (23) pages.
161 \clearpage\Hide\chapter{Uni für Fortgeschrittene}\thispagestyle{fancy}
162 \input{articles/advuni_anerkennung.tex}\vspace{\fill}\newpage
163 \input{articles/advuni_mitbelegen.tex}\vspace{\fill}\newpage
164 \input{articles/advuni_pruefungsrecht.tex}\vspace{\fill}\newpage
165 \input{articles/advuni_erasmus.tex}\vspace{\fill}\newpage
166
167 % chapter.maxsize: 6 (29) pages.
168 \clearpage\Hide\chapter{Finanzierung}\thispagestyle{fancy}
169 \input{articles/finanz_allgemein.tex}\vspace{\fill}\newpage
170 \input{articles/finanz_familienbeihilfe.tex}\vspace{\fill}\newpage
171 \input{articles/finanz_studienbeihilfe.tex}\vspace{\fill}\newpage
172 \input{articles/finanz_studiengebuehren.tex}\vspace{\fill}\newpage
173 \input{articles/finanz_studarb.tex}\vspace{\fill}\newpage
174 \input{articles/finanz_stipendium.tex}\vspace{\fill}\newpage
175
176 % cover.maxsize: 1 (30) pages.
177 \clearpage
178 \onecolumn
179 \mbox{}\thispagestyle{empty}
180 \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}
181 \vspace{\fill}
182 \newpage
183
184 % cover.maxsize: 2 (32) pages.
185 \clearpage
186 \onecolumn
187 \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}
188
189 \mbox{}\thispagestyle{empty}
190 \clearpage
191 \mbox{}\thispagestyle{empty}
192 \begin{textblock*}{\paperwidth}(0mm,0mm)\noindent\includegraphics[width=\paperwidth,height=\paperheight]{images/cover_back.png}
193 \end{textblock*}
194 \end{document}