-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
198 lines (172 loc) · 6.56 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
%
% Master thesis template for Ghent University (2018)
%
%
% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
% !! MAKE SURE TO SET lualatex OR xelatex AS LATEX ENGINE !!
% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
% !! For overleaf: !!
% !! 1. click gear icon in top right !!
% !! 2. select `lualatex` in "latex engine" !!
% !! 3. click "save project settings" !!
% !! !!
% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
%
%
% History
% 2014 Doctoral Thesis of Bruno Volckaert
% 2017 Adapted to master thesis by Jerico Moeyersons
% 2018 Cleanup by Merlijn Sebrechts
% 2020 Improved table of content and appendix formatting by Thomas Detemmerman
%
\documentclass[11pt,a4paper,twoside, openany]{book}
\usepackage[a4paper,includeheadfoot,margin=2.50cm]{geometry}
\setlength{\parindent}{0cm} % indent of the first sentence of a paragraph
\setlength{\parskip}{1em} % space between paragraphs
\renewcommand{\baselinestretch}{1.2} % stretch horizontal space between everything
\usepackage{graphicx}
\graphicspath{{images/}}
\usepackage{pdfpages}
\usepackage{enumitem}
\usepackage{mathtools}
\usepackage{float}
\usepackage{caption}
%\usepackage{subcaption}
\usepackage[toc,page]{appendix}
\usepackage{minted} % for modern code highlighting
\usepackage{subfig}
\newenvironment{code}{\captionsetup{type=listing}}{} % To get multiline code fragments working: https://tex.stackexchange.com/a/53540/72273
\usepackage{upquote}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{pgfgantt}
\usepackage{xparse}
\newcommand\textganttbar[5][]{%
\ganttbar[#1,bar/.append style={alias=tmp}]{#2}{#4}{#5}
\path
let
\p1=(tmp.west),\p2=(tmp.east),
\n1={\x2-\x1},\n2={width("#3")},
\n3={ifthenelse(\n1>\n2,90,270)}
in
node [anchor=\n3,font=\footnotesize] at (tmp.north) {#3};
}
\NewDocumentCommand\textganttbarB{O{} O{} mmmm}{%
\ganttbar[#1,bar/.append style={alias=tmp}]{#3}{#5}{#6}
\node [font=\footnotesize,at={(tmp)},#2] {#4};
}
\tikzset{
above bar/.style={
at={(tmp.north)},anchor=south
},
below bar/.style={
at={(tmp.south)},anchor=north
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\PassOptionsToPackage{hyphens}{url}
\usepackage{hyperref}
\usepackage{url}
\usepackage{siunitx} %For ° symbol (degree)
\usepackage{quotchap} % For the fancy quotes next to the chapter titles
%\usepackage[numbers]{natbib} % For bibliography; use numeric citations
%\bibliographystyle{IEEEtran}
%\usepackage[nottoc]{tocbibind} % Put Bibliography in ToC
%barplot
\usepackage{pgfplots, pgfplotstable}
\pgfplotsset{compat=1.9}
%
% Page numbers and auto generate headers
%
\usepackage{fancyhdr}
% automatically ensure floats (=figures) do not go into the next section.
\usepackage[section]{placeins}
%allows texst around figure
\usepackage{wrapfig}
\usepackage{caption} %solution for issue: https://tex.stackexchange.com/questions/55337/how-to-use-figure-inside-a-minipage
%
% pseudocode
%
\usepackage{amsmath}
\usepackage{algorithm}
\usepackage[noend]{algpseudocode}
%
% Charts and plots
%
\usepackage{pgfplots}
%
% Glossaries
%
\usepackage[acronym,toc,shortcuts]{glossaries}
\setglossarystyle{super}
\renewcommand{\glsnamefont}[1]{\textbf{#1}}
\makeglossaries
%
% Defines \checkmark to draw a checkmark
%
\usepackage{tikz}
\def\checkmark{\tikz\fill[scale=0.4](0,.35) -- (.25,0) -- (1,.7) -- (.25,.15) -- cycle;}
%
% For tables
%
\usepackage{booktabs}
\usepackage{array}
\usepackage{ragged2e} % for '\RaggedRight' macro (allows hyphenation)
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\usepackage{multirow}
%
% If an image happens to be the only thing shown on a page, it would be vertically centred.
% The command bellow forces the image to be on top.
%
\makeatletter
\setlength{\@fptop}{0pt}
\makeatother
%
% Set the title and your name
%
\title{Evaluating Human Electromagnetic Exposure in a UAV-aided Network}
\author{Thomas Detemmerman}
%
% END OF HEADER
% The actual latex document content starts here.
%
\begin{document}
\frontmatter % latin page numbers (front matter only starts here so extended abstracs would not be counted (prevents realy big page numbers like XXiii))
\pagestyle{plain} % page numbers in center of footer
\includepdf{frontmatter/voorblad.pdf} % Front matter
\newpage\thispagestyle{empty}\mbox{} % White page
\include{frontmatter/Dankwoord} % Word of thanks
\include{frontmatter/summary.EN}
\include{frontmatter/summary.NL}
\includepdf[pages=-]{frontmatter/extendedAbstracts/EN/extendedabstract.pdf} % Extended Abstract
\includepdf[pages=-]{frontmatter/extendedAbstracts/NL/extendedabstract.pdf} % Extended Abstract
\tableofcontents % Table of Contents
\listoffigures % List of figures
\addcontentsline{toc}{chapter}{List of Figures} %list "list of figures" in 'table of contents"
\listoftables % List of tables
\addcontentsline{toc}{chapter}{List of Tables} %list "list of tables" in "table of contents"
\listoflistings % List of listings (code fragments)
\addcontentsline{toc}{chapter}{List of Listings} %list "list of listings" in "table of contents"
\include{woordenlijst}
\printglossaries
%
% Include the main chapters of the thesis below
%
\mainmatter % arabic page numbers
\pagestyle{headings} % page numbers and subtitle in header
\include{chapters/1_inleiding}
\include{chapters/2_stateoftheart}
\include{chapters/methodology}
\include{chapters/scenarios}
\include{chapters/results}
\include{chapters/conclusions}
\include{chapters/Bibliografie}
%
% Include the appendix chapters of the thesis below
%
\appendix % use alphabet for chapter numbering
\begin{appendices} % makes a white page with "appendices" in the center
\include{chapters/datasheet}
\end{appendices}
\end{document}