-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
291 lines (229 loc) · 8.29 KB
/
main.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
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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
% ========== Template by IC\M/T Institute of Creative\Media/Technologies =============
% ========== M. Wagner and K. Blumenstein, N. Thuer 2017 =============
% ========== Based on the LaTeX Thesis Template for the University of Applied Sciences St.Pölten by P. Lechner https://github.com/hrtlacek/ThesisTemplate-FH-StP =============
%----------------------------------------------------------------
% TODO List
%----------------------------------------------------------------
%Dokumentklasse without end dot ;-)
\documentclass[a4paper,twoside,11pt, numbers=noenddot]{scrreprt}
\usepackage[left= 3.5cm,right = 3cm, bottom = 3.5 cm, top = 3 cm]{geometry}
\usepackage[onehalfspacing]{setspace}
% Standard Packages
\usepackage[utf8]{inputenc}
% ============= Settings for the Work =============
\include{Settings}
\include{Own_Pkgs}
% ============= Packages =============
% Switch the Language
\ifuseGermanVersion
\usepackage[ngerman]{babel} % German
\else
\usepackage[english]{babel} % English
\fi
\usepackage{csquotes}
\usepackage[T1]{fontenc}
%\usepackage{graphicx}
\usepackage{graphicx, subfigure}
%Set path for images
%\graphicspath{{img/}}
\usepackage{fancyhdr}
\usepackage{lmodern}
\usepackage{color}
\usepackage{transparent}
% Zitierstil
% Citation style
%\usepackage[comma,authoryear]{natbib}
%\usepackage{natbib}
%\usepackage[backend=biber, style=apa, citestyle=authoryear, sorting=nyt]{biblatex}
%\ifuseGermanVersion
% \DeclareLanguageMapping{ngerman}{ngerman-apa}
%\else
% \DeclareLanguageMapping{english}{english-apa}
%\fi
\usepackage[nottoc]{tocbibind}
%\addbibresource{biblatex.bib}
% zusätzliche Schriftzeichen der American Mathematical Society
\usepackage{amsfonts}
\usepackage{mathtools}
\usepackage[export]{adjustbox}
% BlockDiagram Drawing Package
% ---tikz
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{pgfplots}
\pgfplotsset{compat=1.10}
\usepackage{textcomp}
%====================================================
% Code Block Style Definition
%\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{listings}
\usepackage{xcolor}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\ttfamily\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstset{style=mystyle}
\usepackage{lmodern} % for bold teletype font
%====================================================
%Package for using the [H] option on graphics to force them into place
\usepackage{float}
%iPython packages:
%\usepackage{graphicx} % Used to insert images
\usepackage{adjustbox} % Used to constrain images to a maximum size
\usepackage{color} % Allow colors to be defined
%\usepackage{enumerate} % Needed for markdown enumerations to work
\usepackage{geometry} % Used to adjust the document margins
\usepackage{amsmath} % Equations
\usepackage{amssymb} % Equations
%\usepackage[mathletters]{ucs} % Extended unicode (utf-8) support
% \usepackage[utf8x]{inputenc} % Allow utf-8 characters in the tex document
\usepackage{fancyvrb} % verbatim replacement that allows latex
\usepackage{grffile} % extends the file name processing of package graphics
% to support a larger range
% The hyperref package gives us a pdf with properly built
% internal navigation ('pdf bookmarks' for the table of contents,
% internal cross-reference links, web links for URLs, etc.)
\usepackage{hyperref}
\usepackage{longtable} % longtable support required by pandoc >1.10
%embedding of audio/video files etc.
% \usepackage{attachfile}
% \usepackage{movie15}
% \usepackage{media9}
% \usepackage{menukeys}
\usepackage[labelfont=it, labelsep=period, format=plain,justification=raggedright, singlelinecheck=false]{caption}
\captionsetup[figure]{justification=centering}
\definecolor{light-gray}{gray}{0.85}
% Switch between German and English based on the Settingx.tex. file
\usepackage{ifthen}
%\captionsetup[listing]{
% labelsep = newline,
% textfont = sc,
% name = LISTING,
% justification=justified,
% singlelinecheck=false,%%%%%%% a single line is centered by default
% labelsep=colon,%%%%%%
% skip = \medskipamount}
% =============== BlockDiagram Drawing Config
\usetikzlibrary{shapes,arrows}
% Definition of blocks:
\tikzset{%
block/.style = {draw, thick, rectangle, minimum height = 3em,
minimum width = 3em},
sum/.style = {draw, circle, node distance = 2cm}, % Adder
input/.style = {coordinate}, % Input
output/.style = {coordinate}, % Output
mult/.style = {draw, isosceles triangle, minimum height=1cm, minimum width =1cm}
}
%mult/.style = {isosceles triangle, sharp corners, anchor=center, xshift=-4mm, minimum height=1.5cm, minimum width =0.05cm}
%isosceles triangle, fill=gray!25, minimum width=1.5cm
% Defining string as labels of certain blocks.
\newcommand{\suma}{\Large$+$}
\newcommand{\inte}{$\displaystyle \int$}
\newcommand{\derv}{\huge$\frac{d}{dt}$}
\newcommand{\conv}{\huge$\ast$}
% ============================================
% -- Settings für Code abbildungen
\usepackage{listings,lstautogobble}
\lstset{backgroundcolor=\color{light-gray},frame=single, framerule=0pt, showspaces=false, showtabs=false, numbers=left, numbersep=5pt, breaklines=false, autogobble=true, language=C++}
% Setze arial font
\usepackage[scaled]{helvet}
\renewcommand*{\familydefault}{\sfdefault}
% FH-grünBlau
\definecolor{FH}{rgb}{0.10, 0.57, 0.68}
% FH-grünBlau 2
\definecolor{FH2}{rgb}{0.0392, 0.666, 0.549}
% nicht einrücken nach Absatz
\setlength{\parindent}{0cm}
% Paragraph-Abstand
\setlength{\parskip}{0.3cm}
% ============= Kopf- und Fußzeile =============
%\renewcommand{\headrulewidth}{0.4pt}
%\renewcommand{\footrulewidth}{0pt}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter~ #1}{}}
\fancypagestyle{icmt-fancy}{%
\fancyhf{}% Clear header and footer
\fancyhead[L]{\leftmark}
\fancyfoot[R]{\thepage}% Custom footer
\renewcommand{\headrulewidth}{0.4pt}% Line at the header visible
\renewcommand{\footrulewidth}{0.0pt}% Line at the footer visible
}
% Redefine the plain page style
\fancypagestyle{plain}{%
\fancyhf{}%
\fancyfoot[R]{\thepage}%
\renewcommand{\headrulewidth}{0pt}% Line at the header invisible
\renewcommand{\footrulewidth}{0.0pt}% Line at the footer visible
}
% ============= Package Einstellungen & Sonstiges =============
%Besondere Trennungen
\hyphenation{De-zi-mal-tren-nung St-rei-fen-licht-scan-nern}
%römische Aufzählungen mit \RM{Zahl}
\newcommand{\RM}[1]{\MakeUppercase{\romannumeral #1}}
%Glossareintraege
\makeglossaries
\loadglsentries{Chapters/06_Glossar/entries}
% ============= Dokumentbeginn =============
\begin{document}
% Select the right main page ;-)
\ifuseGermanVersion
\include{TemplateElements/TitelPage_de}
\else
\include{TemplateElements/TitelPage_en}
\fi
% \part im Inhaltsverzeichnis nicht nummerieren
\makeatletter
\let\partbackup\l@part
\renewcommand*\l@part[2]{\partbackup{#1}{}}
%Seitennummerierung neu beginnen, Zahlen [arabic], röm.Zahlen [roman,Roman], Buchstaben [alph,Alph]
\pagenumbering{Roman}
\newpage
\include{TemplateElements/a_Erklaerung}
\newpage
\input{Chapters/00_Abstract/chapter}
%Inhaltsverzeichnis
\pagestyle{plain}
\tableofcontents
\newpage
%Seitennummerierung neu beginnen, Zahlen [arabic], röm.Zahlen [roman,Roman], Buchstaben [alph,Alph]
\pagenumbering{arabic}
% pagestyle für gesamtes Dokument aktivieren
\pagestyle{icmt-fancy}
\newpage
\input{Chapters/chapters}
\pagestyle{plain}
%Literaturverzeichnis
\newpage
\bibliographystyle{unsrt}
\raggedright
\bibliography{biblatex}
\listoffigures
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{Listingverzeichnis}
\renewcommand\lstlistingname{Listingsverzeichnis}
\renewcommand\lstlistlistingname{Listingverzeichnis}
%\listoflistings
\makeatletter
\let\l@listing\l@figure
\makeatother
\lstlistoflistings
\end{document}