This repository has been archived by the owner on Oct 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbachelor.tex.recover.bak~
249 lines (195 loc) · 6.7 KB
/
bachelor.tex.recover.bak~
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
\documentclass[a4paper, 12pt, oneside, headspline]{scrartcl}
\input{latex_einstellungen/v_main}
\usepackage[openbib]{currvita}
% wichtig für Trennung von Wörtern mit Umlauten
\usepackage[T1]{fontenc}
% verbesserter Randausgleich
\usepackage{microtype}
% Farbige links
\usepackage{color}
% Umlaute unter UTF8 nutzen
\usepackage[utf8]{inputenc}
% deutsche Silbentrennung
\usepackage[ngerman]{babel}
% Grafiken aus PNG Dateien einbinden
\usepackage{graphicx}
% bricht lange URLs "schoend" um
\usepackage[hyphens,obeyspaces,spaces]{url}
% mehrseitige Tabellen ermöglichen
\usepackage{longtable}
% für Tabellen
\usepackage{array}
% Schaltet den zusätzlichen Zwischenraum ab, den LaTeX normalerweise nach einem Satzzeichen einfügt.
\frenchspacing
% Paket für Zeilenabstand
\usepackage{setspace}
% für Bildbezeichner
\usepackage{capt-of}
% für Stichwortverzeichnis
\usepackage{makeidx}
% Für Glossar
\usepackage{glossaries}
% Ermöglicht das Fußnotenverzeichnis
\usepackage[titles]{tocloft}
%% Fußnotenverzeichnis von https://stackoverflow.com/a/6914775/8339179
\newcommand{\listfootnotesname}{Fußnotenverzeichnis}% % 'List of Footnotes' title
\newlistof[chapter]{footnotes}{fnt}{\listfootnotesname}% % New 'List of...' for footnotes
\let\oldfootnote\footnote% % Save the old \footnote{...} command
\renewcommand\footnote[1]{% % Redefine the new footnote to also add 'List of Footnote' entries.
\refstepcounter{footnotes}% % Add and step a reference to the footnote/counter.
\oldfootnote{#1}% % Make a regular footnote.
\addcontentsline{fnt}{footnotes}{\protect%
\numberline{\thefootnotes}#1}% % Add the 'List of...' entry.
}
% Ermöglicht mehr als 3 punkte tiefe -> 1.2.3.4
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
\newcommand{\myparagraph}[1]{\paragraph{#1}\mbox{}\\\noindent}
% Von https://tex.stackexchange.com/a/10110 mit additions aus https://stackoverflow.com/a/6914775/8339179
\newcommand{\footlabel}[2]{%
\refstepcounter{footnotes}%
\addcontentsline{fnt}{footnotes}{\protect
\numberline{\thefootnotes}#2}%
\addtocounter{footnote}{1}%
\footnotetext[\thefootnote]{%
\addtocounter{footnote}{-1}%
\refstepcounter{footnote}\label{#1}
#2%
}%
$^{\ref{#1}}$%
}
\renewcommand{\footref}[1]{%
$^{\ref{#1}}$%
}
% Bessere Listen
\usepackage{enumitem}
\usepackage[
maxnames=6,
minnames=1,
style=apa,
backend=biber,
bibencoding=utf8,
sortlocale=de_DE,
]{biblatex}
\DeclareLanguageMapping{ngerman}{ngerman-apa}
\DefineBibliographyStrings{ngerman}{
andothers = {{et\,al\adddot}},
}
% für Listings
\usepackage{listings}
\lstset{
numbers=left,
numberstyle=\tiny,
numbersep=5pt,
keywordstyle=\color{black}\bfseries,
stringstyle=\ttfamily,
showstringspaces=false,
basicstyle=\footnotesize,
captionpos=b
}
\input{latex_einstellungen/glossar}
% Abkürzungsverzeichnis
\usepackage[german]{nomencl}
\let\abbrev\nomenclature
% Abkürzungsverzeichnis LiveTex Version
\renewcommand{\nomname}{Abkürzungsverzeichnis}
\setlength{\nomlabelwidth}{.25\hsize}
\renewcommand{\nomlabel}[1]{#1 \dotfill}
\setlength{\nomitemsep}{-\parsep}
\makenomenclature
\makeglossaries
% Disable single lines at the start of a paragraph (Schusterjungen)
\clubpenalty = 10000
% Disable single lines at the end of a paragraph (Hurenkinder)
\widowpenalty = 10000
\displaywidowpenalty = 10000
% Hyperlinks im Text
\usepackage[bookmarksnumbered,pdftitle={\titleDocument},hyperfootnotes=false]{hyperref}
\hypersetup{colorlinks, citecolor=red, linkcolor=blue, urlcolor=blue}
% neue Kopfzeilen mit fancypaket
\usepackage{fancyhdr} % Paket laden
\pagestyle{fancy} % eigener Seitenstil
\fancyhf{} % alle Kopf- und Fußzeilenfelder bereinigen
\fancyhead[L]{\nouppercase{\leftmark}} % Kopfzeile links
\fancyhead[C]{} % zentrierte Kopfzeile
\fancyhead[R]{\thepage} % Kopfzeile rechts
\renewcommand{\headrulewidth}{0.4pt} % obere Trennlinie
\fancyfoot[C]{\thepage} % Seitennummer
\renewcommand{\footrulewidth}{0.4pt} % untere Trennlinie
% Bibliothek hinzufuegen
\addbibresource{bachelor.bib}
\begin{document}
% Leere Seite am Anfang
\thispagestyle{empty} % erzeugt Seite ohne Kopf- / Fusszeile
\section*{ }
\newpage
% Titelseite
\input{latex_einstellungen/deckblatt}
% 1.5 facher Zeilenabstand
\onehalfspacing
% Einleitung / Abstract
\input{bachelor/1_abstract}
% einfacher Zeilenabstand
\singlespacing
% Inhaltsverzeichnis anzeigen
\newpage
\tableofcontents
%%%%% Beginn Dokument %%%%%
\newpage
\fancyhead[L]{\nouppercase{\leftmark}} % Kopfzeile links
% 1,5 facher Zeilenabstand
\onehalfspacing
% einzelne Kapitel
\input{bachelor/2_einleitung}
\input
\input{bachelor/3_python_test_tools}
\input{bachelor/7_diskussion}
\input{bachelor/8_fazit}
\input{bachelor/9_nachwort}
\onecolumn
% einfacher Zeilenabstand
\singlespacing
\appendix
\addcontentsline{toc}{section}{Anhang}
\renewcommand{\thesubsection}{\Alph{subsection}}
% Literaturverzeichnis
\input{latex_einstellungen/literaturverzeichnis}
% das Abbildungsverzeichnis
%\newpage
% Abbildungsverzeichnis soll im Inhaltsverzeichnis auftauchen
%\phantomsection
%\addcontentsline{toc}{section}{Abbildungsverzeichnis}
% \fancyhead[L]{Abbildungsverzeichnis} % Kopfzeile links
% Abbildungsverzeichnis endgültig anzeigen
%\listoffigures
% das Tabellenverzeichnis
%\newpage
% Abbildungsverzeichnis soll im Inhaltsverzeichnis auftauchen
%\phantomsection
%\addcontentsline{toc}{section}{Tabellenverzeichnis}
% \fancyhead[L]{Tabellenverzeichnis} % Kopfzeile links
% Abbildungsverzeichnis endgueltig anzeigen
%\listoftables
% das Listingverzeichnis
\input{latex_einstellungen/listingverzeichnis}
% das Fußnotenverzeichnis
\input{latex_einstellungen/fussnotenverzeichnis}
% das Glossar
\newpage
% Glossar soll im Inhaltsverzeichnis auftauchen
\phantomsection
\addcontentsline{toc}{subsection}{Glossar}
\fancyhead[L]{Glossar} % Kopfzeile links
% das Abkürzungsverzeichnis entgültige Ausgeben
\printglossaries
% das Abkürzungsverzeichnis
\input{latex_einstellungen/abkuezungen/abkuerzungen}
% die Listings
\input{bachelor/listings}
% 1,5 facher Zeilenabstand
\onehalfspacing
% Eidesstattliche Erklärung
\input{erklaerung}
\end{document}
% Indexerstellung
\makeindex