]> git.somenet.org - fsinf/basics.git/blob - basics.tex
add license to xkcd.com links
[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=yellow]{yellowframe}
101
102 % quotes
103 \usepackage[babel,german=quotes]{csquotes}
104
105
106 % START DOCUMENT
107 \begin{document}\thispagestyle{empty}
108 \begin{textblock*}{\paperwidth}(0mm,0mm)\noindent\includegraphics[width=\paperwidth,height=\paperheight]{images/cover_front.png}
109 \end{textblock*}
110 \mbox{}\newpage
111
112 %hack to have more characters per page.
113 \small
114
115 \onecolumn
116 \thispagestyle{empty}
117 \input{articles/_adressen.tex}\vspace{\fill}\newpage
118
119 \twocolumn
120 \thispagestyle{empty}
121 \input{articles/_impressum.tex}
122 \subsection{Version}
123 \begin{footnotesize}
124 \url{http://git.somenet.org/?p=fsinf/basics.git}\\
125 \url{ssh://git@git.somenet.org:666/fsinf/basics}\\
126 \end{footnotesize}
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 \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: 6 (11) pages.
140 \clearpage\Hide\chapter{Vor dem Studium}\thispagestyle{fancy}
141 \input{articles/vor_das_richtige_studium.tex}\vspace{\fill}\newpage
142 \input{articles/vor_unsere_studien.tex}\vspace{\fill}\newpage
143 \input{articles/vor_medieninf.tex}\vspace{\fill}\newpage
144 \input{articles/vor_medzinf.tex}\vspace{\fill}\newpage
145 \input{articles/vor_se.tex}\vspace{\fill}\newpage
146 \input{articles/vor_ti.tex}\vspace{\fill}\newpage
147 \input{articles/vor_inskription.tex}\vspace{\fill}\newpage
148 \input{articles/vor_aufbau_des_studiums.tex}\vspace{\fill}\newpage
149
150 % chapter.maxsize: 7 (18) pages.
151 \clearpage\Hide\chapter{Erstes Semester}\thispagestyle{fancy}
152 \input{articles/es_bday.tex}\vspace{\fill}\newpage
153 \input{articles/es_prolog.tex}\vspace{\fill}\newpage
154 \input{articles/es_estuts.tex}\vspace{\fill}\newpage
155 \input{articles/es_stundenplan.tex}\vspace{\fill}\newpage
156 \input{articles/es_lvas.tex}\vspace{\fill}\newpage
157 \input{articles/es_steop.tex}\vspace{\fill}\newpage
158 \input{articles/es_ticket.tex}\vspace{\fill}\newpage
159
160 % chapter.maxsize: 3 (21) pages.
161 \clearpage\Hide\chapter{Unialltag}\thispagestyle{fancy}
162 \input{articles/unialltag_bibliothek.tex}\vspace{\fill}\newpage
163 \input{articles/unialltag_lernraume.tex}\vspace{\fill}\newpage
164
165 % chapter.maxsize: 3 (24) pages.
166 \clearpage\Hide\chapter{Uni im Internet}\thispagestyle{fancy}
167 \input{articles/inet_zid.tex}\vspace{\fill}\newpage
168 \onecolumn
169 \input{articles/inet_tiss.tex}\vspace{\fill}\newpage
170 \twocolumn
171 \input{articles/inet_vowi.tex}\vspace{\fill}\newpage
172
173 % chapter.maxsize: 4 (28) pages.
174 \clearpage\Hide\chapter{Uni für Fortgeschrittene}\thispagestyle{fancy}
175 \input{articles/advuni_anerkennung.tex}\vspace{\fill}\newpage
176 \input{articles/advuni_mitbelegen.tex}\vspace{\fill}\newpage
177 \input{articles/advuni_pruefungsrecht.tex}\vspace{\fill}\newpage
178 \input{articles/advuni_erasmus.tex}\vspace{\fill}\newpage
179
180 % chapter.maxsize: 6 (34) pages.
181 \clearpage\Hide\chapter{Finanzierung}\thispagestyle{fancy}
182 \input{articles/finanz_allgemein.tex}\vspace{\fill}\newpage
183 \input{articles/finanz_familienbeihilfe.tex}\vspace{\fill}\newpage
184 \input{articles/finanz_studienbeihilfe.tex}\vspace{\fill}\newpage
185 \input{articles/finanz_studiengebuehren.tex}\vspace{\fill}\newpage
186 \input{articles/finanz_studarb.tex}\vspace{\fill}\newpage
187 \input{articles/finanz_stipendium.tex}\vspace{\fill}\newpage
188
189 % cover.maxsize: 2 (36) pages.
190 \clearpage
191
192 \onecolumn
193 \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}
194
195 \mbox{}\thispagestyle{empty}
196 \clearpage
197 \mbox{}\thispagestyle{empty}
198 \begin{textblock*}{\paperwidth}(0mm,0mm)\noindent\includegraphics[width=\paperwidth,height=\paperheight]{images/cover_back.png}
199 \end{textblock*}
200 \end{document}