-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
169 lines (133 loc) · 5.28 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
\documentclass[12pt,a4paper,oneside]{report}
%\usepackage[T1]{fontenc}
%\usepackage{lmodern}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc} % Displays German 'Umlaute' correctly. Also some workaround, see Bibliography Management#BibTeX in wikibooks
\usepackage[T1]{fontenc}
\usepackage{subfiles} % In order to generate final file from multiple .tex source files.
% \usepackage{url} or
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{titlesec}
\usepackage[parfill]{parskip} % Use an empty half line between two paragraphs (instead of line indent)
\usepackage{setspace}
\usepackage{listings} % Enables code blocks
\usepackage{enumerate}
%\usepackage{tabularx}
%\usepackage{ltablex}
\usepackage{enumitem}
% \usepackage{microtype}
\usepackage{ltxtable}
\usepackage{subcaption}
\usepackage{chngcntr} % Change counter (start numeric page numbering on first content page)
\usepackage[acronym,nopostdot,nonumberlist]{glossaries} % Add parameter [toc] to include glossary in index page. Needs to be defined after package 'hyperref' so glossary occurances are linked.
\usepackage[backend=biber,style=numeric]{biblatex}
%\addbibresource[<options for bib resources>]{./bibliography/bookpapermanual.bib}
\makeglossaries % Generates (one or multiple) glossaries
% Add glossary entries
\loadglsentries{./modules/glossary}
% Add acronym entries
\include{./modules/acronyms}
% Use 1.5x line spacing
\onehalfspacing
\lstset{aboveskip=5mm,
belowskip=5mm,
basicstyle={\small\ttfamily},
tabsize=1
}
% Enables consecutive figure and table numbering, independent of chapter count
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}
% Maximum depth of shown headlines in index page
\setcounter{tocdepth}{3} %5 .... 3 ist gut
% Maximum depth of numbered headlines
\setcounter{secnumdepth}{3}
% Rewrites names of latex symbols
\addto{\captionsngerman}{\renewcommand*{\abstractname}{}}
%\renewcommand{\abstractname}{Abstract}
\addto{\captionsngerman}{\renewcommand*{\acronymname}{Abkürzungsverzeichnis}}
\addto{\captionsngerman}{\renewcommand*{\glossaryname}{Glossar}}
\renewcommand{\arraystretch}{2} % for vertical table cell padding
\titleformat{\chapter}%[display]
% ORIGINAL: {\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
{\normalfont\huge\bfseries}{\thechapter}{20pt}{\Huge}
\titlespacing*{\chapter} {0pt}{20pt}{40pt} %{0pt}{50pt}{40pt}
% Some global symbols and meta data
\newcommand{\bibtexFiles}{./bibliography/bookpapermanual,./bibliography/web_docker,./bibliography/web_github,./bibliography/web_homepages,./bibliography/web_misc} % written
% TEST \newcommand{\bibtexFiles}{./bibliography/bookpapermanual,./bibliography/web_docker,./bibliography/web_github,./bibliography/web_homepages} % written
% TEST \newcommand{\bibtexFilePath}{./modules/bibliography.bib} % written without extension
\newcommand{\Autor}{Moritz Hoffmann}
\newcommand{\Email}{mh203@hdm-stuttgart.de}
\newcommand{\Matrikelnummer}{26135}
\newcommand{\Studiengang}{Mobile Medien}
\newcommand{\Hochschule}{Hochschule der Medien}
\newcommand{\Dokument}{Bachelorthesis}
\newcommand{\Thema}{Sicherheitsbetrachtung von App\-li\-ka\-ti\-ons-Con\-tai\-ner\-sys\-tem\-en in Cloud-In\-fra\-struk\-tur\-en am Beispiel Docker}
\newcommand{\fig}{Abb.}
\newcommand{\bulletpoint}{~~\llap{\textbullet}~~}
\newcommand*{\signatureAndDate}{
\par\noindent\makebox[2.5in]{\hrulefill} \hfill\makebox[2.0in]{\hrulefill}%
\par\noindent\makebox[2.5in][l]{Unterschrift} \hfill\makebox[2.0in][l]{Datum}%
}
% Prevents strange unicode errors while compiling. Might be corrupted white spaces from copy pastes
\DeclareUnicodeCharacter{0301}{\'}
\DeclareUnicodeCharacter{00AD}{}
\newcommand{\cvalid}{\(c\)}
\newcommand{\cbroken}{\(\overline{c}\)}
\title{\Thema}
\author{\Autor}
\date{\today}
\hypersetup{pdftitle={\Dokument: \Thema},
pdfauthor={\Autor},
pdfsubject={\Dokument: \Thema}.
pdfcreator={\Autor},
pdfkeywords={Docker, Sicherheit, Virtualisierung}
}
\bibliography{\bibtexFiles}
% Add hyphenations
\include{./modules/hyphenation}
% Content
\begin{document}
% Seitennummerierung deaktivieren
\pagenumbering{gobble}
% Deckblatt
\subfile{./modules/cover}
%\pagenumbering{roman} % Aktiviert römische Ziffern als Seitenzahlen
% Eidesstattliche Erklärung
\subfile{./modules/declaration}
% Abstract
\subfile{./modules/abstract}
% Inhaltsverzeichnis (TOC)
\tableofcontents
% Abbildungsverzeichnis
\listoffigures
% Tabellenverzeichnis
\listoftables
% Struktur der Arbeit
\subfile{./modules/1_overview} % Seitennummerierung startet hier (numerisch)
% Einführung
\subfile{./modules/2_basics}
% Forschungsfrage
\subfile{./modules/3_question}
% Security aus Linux Kernel Features
\subfile{./modules/4_sec_linux}
% Security im Docker Ökosystem
\subfile{./modules/5_sec_ecosystem}
% Security in Cloud-Infrastrukturen
\subfile{./modules/6_sec_infrastructure}
% Fazit
\subfile{./modules/7_result}
% Glossar
%\printglossary
\printglossaries%[type=main,style=long,nonumberlist]
% Anhang (falls benötigt)
\appendix
% Evtl. beispielhafte Dockerfiles anzeigen (oder das inline)
% Quellenverzeichnis
% aus http://tex.stackexchange.com/questions/15653/line-breaking-of-urls-in-bibliographies
\begingroup
%\raggedright
\sloppy
\printbibliography
\endgroup
\end{document}