-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathProgGru.tex
76 lines (53 loc) · 2.19 KB
/
ProgGru.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
%Dokumentinformationen
\newcommand{\titleinfo}{ProgGru - Zusammenfassung}
\newcommand{\authorinfo}{L. Leuenberger, M. Ehrler, T. Andermatt}
\newcommand{\versioninfo}{$Revision: $ \today}
% standard header
\include{sections/header} % ./header.tex nicht editieren (Projekt LaTeX-Header benutzen)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Neue Befehle und Definitionen
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This is needed for one more subsection, ex. 1.1.1.1, is called by \paragraph{}
\usepackage{titlesec}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
\titleformat{\paragraph}
{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
% Settings which are used to set the distance above and under the sections
%\titlespacing*{\paragraph}{0pt}{2.25ex plus 1ex minus .2ex}{1.0ex plus .2ex}
\titlespacing{\section}{0em}{0.5em}{0.5em}
\titlespacing{\subsection}{0em}{0.5em}{0.5em}
\titlespacing{\subsubsection}{0em}{0.5em}{0.5em}
% Linksbündig
\setlength\parindent{0ex}
% This is needed for a smaller itemlist, is called by \compactenum {}
\usepackage{paralist}
% This is needed for merging some columns in a table
\usepackage{multicol}
\usepackage{multirow}
% This is needed for code listing
\usepackage{listings}
\definecolor{red}{rgb}{1,0,0}
\newcommand{\verweis}[1]{$_{\textcolor{red}{\mbox{\small{Kapitel #1}}}}$}
\newcommand{\verweishoch}[1]{${\textcolor{red}{\mbox{\small{Kapitel #1}}}}$}
%Document Anfang
\begin{document}
\title{\Huge{ProgGru}}
\maketitle
\setcounter{tocdepth}{2}
\tableofcontents
\newpage
\input{sections/01_vom_Problem_zum_Programm}
\input{sections/02_Kontrollstrukturen}
\input{sections/03_Typenkonzept}
\input{sections/04_Funktionen}
\input{sections/05_Pointer_und_Arrays}
\input{sections/06_Stringverarbeitung}
\input{sections/07_Lexikalische_Konventionen_Enum}
\input{sections/07_Anweisungen_und_Operatoren}
\input{sections/08_Strukturen_Unionen}
\input{sections/09_Komplexe_Datentypen_Typennamen}
\input{sections/10_Speicherklassen}
\input{sections/12_Rekursion}
\input{sections/14_Anhang_Beispiele}
\end{document}