-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathThesis.tex
207 lines (162 loc) · 5.87 KB
/
Thesis.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
% http://www.idsc.ethz.ch/education/theses-semester-projects.html
% IDSC LaTeX Thesis Template
%
% Author(s): Eric Müller
% Institute for Dynamic Systems and Control
% Swiss Federal Institute of Technology (ETH) Zurich
%
% Created: 2004/04/02 (Eric Mueller)
%
% Notes: Has been tested on Windows 7 + MikTeX + TeXnicCenter
%
% Revisions: 2009/05/29 (Soren Ebbesen)
% 2011/03/22 (Soren Ebbesen)
% 2013/03/08 (Soren Ebbesen)
% 2014/03/13 (Soren Ebbesen)
% 2022/12/26 (Vanessa Leite)
% 2024/04/24 (Vanessa Leite)
% ______________________________________________________________________________
% \documentclass[10pt,twoside,a4paper,fleqn]{report}
\documentclass[10pt,twoside,a4paper,fleqn]{scrbook}
%custom commands for comments of Supervisor (sv), phd candidate(pc)
\newcommand{\sv}[1]{\textcolor{red}{{\textbf{SV:}}~#1}}
\newcommand{\pc}[1]{\textcolor{cyan}{{\textbf{PC:}}~#1}}
% text color
\usepackage[svgnames,x11names,table]{xcolor}
\usepackage[english,mt]{ethidsc} % Special IDSC styles and commands
% {german}/english: language of headings, etc.
% {st}/bt/mt: {semester}/bachelor/master thesis
\usepackage{caption, subcaption}
% Image position [H]
\usepackage{float} % table position
%\usepackage{csvsimple} %(if want to add tables from csv. Otherwise use: https://www.tablesgenerator.com/latex_tables and import them from File->import csv file...)
% Tables with cells that take multiple rows
\usepackage{multirow}
% Allow for a new line in the same cell of a table (https://tex.stackexchange.com/questions/2441/how-to-add-a-forced-line-break-inside-a-table-cell/19678)
\usepackage{makecell}
% forests (used to represent classes in the code)
\usepackage[edges]{forest}
% forests (attempt II)
\usepackage{forest}
% acronym
\usepackage[printonlyused]{acronym}
% to include a pdf with the title page
\usepackage{pdfpages}
% todo notes
\usepackage{todonotes}
% tables
\usepackage{tabulary}
% for pseudocode
\usepackage{algorithm}
\usepackage[noend]{algorithmic}
% for epigraph
\usepackage{epigraph}
% for non-default font type
\usepackage{kpfonts}
% to break long citation
\usepackage{breakcites}
\usepackage[round]{natbib}
\hypersetup{
pdfsubject = {Thesis},
pdftitle = {},
pdfauthor = {},
colorlinks=true,
urlcolor=DarkBlue,
linkcolor=DarkBlue,
citecolor=DarkBlue,
filecolor=DarkBlue,
pdfborder={0 0 0}
}
\graphicspath{{./img/}}
\usetikzlibrary{arrows.meta}
\forestset{
dir tree/.style={
for tree={
parent anchor=south west,
child anchor=west,
anchor=mid west,
inner ysep=1pt,
grow'=0,
align=left,
edge path={
\noexpand\path [draw, \forestoption{edge}] (!u.parent anchor) ++(1em,0) |- (.child anchor)\forestoption{edge label};
},
font=\sffamily,
if n children=0{}{
delay={
prepend={[,phantom, calign with current]}
}
},
fit=band,
before computing xy={
l=2em
}
},
}
}
% accents and special characters
%\usepackage[utf8]{inputenc}
% Page header (don't change)________________________________________________
\setlength{\parindent}{0em} % Disable parindent
\rhead[\nouppercase{\rightmark}]{\thepage} % Special headings
\lhead[\thepage]{\nouppercase{\leftmark}} % Special headings
\cfoot{} % Special headings
% Title page (please fill in)____________________________________________
\title{Thesis title here}
\studentA{PhD Candidate Name}
\ethidA{}
\semesterA{}
\emailA{}
\supervision{Prof. Dr. Supervisor}
\date{Month YEAR}
%\type{Ph.D. Thesis}
%\identification{IDSC-XX-YY-ZZ} % Project identifier
\infopage
%\declaration
% Begin document___________________________________________________________
\begin{document}
% First page of the thesis **has to be** the official page of the program, otherwise thesis will be rejected
\newlength{\originalVOffset}
\newlength{\originalHOffset}
\setlength{\originalVOffset}{\voffset}
\setlength{\originalHOffset}{\hoffset}
\setlength{\voffset}{0cm}
\setlength{\hoffset}{0cm}
%% If you are in the joint PhD program (ETH+UZH), then doppeldoktort page has to be used
\includepdf[pages=-]{Titelblatt_Doppeldoktorat.pdf}
%% Otherwise
%% if you are a UZH student, this is the right one
%\includepdf[pages=-]{Titelblatt_UZH.pdf}
%% if you are a UZH student, this is the right one
%\includepdf[pages=-]{Titelblatt_ETH.pdf}
\setlength{\voffset}{\originalVOffset}
\setlength{\hoffset}{\originalHOffset}
% After, you can have your own designed page
\maketitle % Create title page
\clearpage
\thispagestyle{empty}
\vspace*{\fill}
% Preamble_______________________________________________________________
\pagenumbering{roman} % Begin roman page numbering (i,ii,...)
\epigraph{\itshape "Your epigraph goes here."}{Author}
\input{chapters/0_preamble}
\pagestyle{fancy} % Fancy headings
\pagenumbering{arabic} % Begin arabic page numbering (1,2,...)
% Chapters______________________________________________________________________
\clearpage % this maybe need to change when printing
\thispagestyle{empty}
\vspace*{\fill}
\epigraph{\itshape "Epigraphs for chapter, if you want to have them." }{Author, \textit{where they said that}}
\input{chapters/1_introduction}
\newpage
% Appendix______________________________________________________________________
\appendix
\input{chapters/app_docu}
\input{chapters/app_exp}
% Bibliography__________________________________________________________________
% Literature (Additional references can be added to the .bib-file manually, or by using, for example, the free application JabRef). Compile in the following order: latex -bibtex -latex -latex
\bibliographystyle{apalike}
\bibliography{biblio/biblioncs}
%% If you dont have access to biblio/biblioncs you can create your own biblio file and use:
%\bibliography{biblio/my-biblio}
\end{document}