-
Notifications
You must be signed in to change notification settings - Fork 0
/
thesis.tex
152 lines (138 loc) · 3.82 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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% MSc THESIS TEMPLATE
% developed for my master thesis at the Universitá di Torino
%
% by Eugenio Senes ([email protected])
%
% released under MIT license, so share, modify and enjoy, but quoting the author !
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% DOCUMENT CLASS (alternative to book is 'report')
% Print just right page or both sides (comment the other one)
\documentclass[12pt,a4paper,openright,oneside]{book} %%One sided
%\documentclass[12pt,a4paper,openright,twoside]{book} %%Double sided
%% SET MARGINS OF THE PAGES
\usepackage{geometry}
\geometry{a4paper,portrait, left=35mm, right=20mm, top=35mm, bottom=30mm}
\usepackage{textcomp,mathcomp}
%% HEADERS AND FOOTERS
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength{\headheight}{14.49998pt}
\addtolength{\topmargin}{-2.49998pt}
\fancyhf{} %clears default header and footer
\rhead{} %right head
\lhead{ \leftmark} %left head
\rfoot{\thepage}
%%consider using also chead, cfoot, lfoot
%coherce the plain stile to this (e.g. the first page of every chapter)
\fancypagestyle{plain}{
\fancyhf{}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
}
%% CLEAR PAGE WITHOUT NUMBER AT THE BEGINNING OF CHAPTERS
\let\origdoublepage\cleardoublepage
\newcommand{\clearemptydoublepage}{%
\clearpage
{\pagestyle{empty}\origdoublepage}%
}
%% ALLOW PAGE ROTATION
\usepackage{lscape}
%% HYPERTEXT SETUP
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
%% PDF SETTINGS
\hypersetup{
pdfauthor={Loris Giraudo},
pdftitle={Master Thesis},
pdfsubject={Model Selection for Anomaly Detection},
pdfkeywords={model-selection, anomaly-detection}
}
%% FONTS AND SYMBOLS
\usepackage[utf8]{inputenc} %%input font setting
\usepackage[T1]{fontenc} %%font for automatic recognition of letters with the accent
\usepackage{amsfonts} %%fonts for the mathematical rendering of formulas
\usepackage{amssymb}
\usepackage{amsmath}
%% CHAPTERS STRUCTURE
\usepackage[italian,english]{babel} %%Set English as main language of the document
%% FIGURES
\usepackage{graphicx}
\usepackage{subfigure} %%allow side by side figures with single caption
%% TABLES
\usepackage{multirow} %%allow to merge rows in the tables
\usepackage{booktabs} %%allow use of \toprule, \midrule, \bottomrule in tables
%%CAPTIONS
\usepackage{caption}
%% BIBLIOGRAPHY
\usepackage[babel]{csquotes}
%% CODE LISTINGS
\usepackage{listings} %%allow to use code listings
\usepackage{caption}
\usepackage{float}
\usepackage{booktabs}
%% HYPENATON
\hyphenation{te-si pip-po paperino} %manual hyphenation
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% BEGIN DOCUMENT
\begin{document}
%%%%%% HEAD OF THE DOCUMENT
\frontmatter
%%FRONT PAGE
\input{head/frontPage.tex}
\clearemptydoublepage
\input{head/empty.tex}
\clearemptydoublepage
\input{head/declaration}
\clearemptydoublepage
\input{head/dedication}
%\clearemptydoublepage
%%ABSTRACT
\input{head/abstract}
\clearemptydoublepage
%%INDEXES
%summary
\tableofcontents
\clearemptydoublepage
%%%%%% BODY OF THE DOCUMENT
\mainmatter
%%INTRODUCTION
\input{body/introduction.tex}
\clearemptydoublepage
%% CHAPTERS
\input{body/chapter2.tex}
\clearemptydoublepage
\input{body/chapter3.tex}
\clearemptydoublepage
\input{body/chapter4.tex}
\clearemptydoublepage
\input{body/chapter5.tex}
\clearemptydoublepage
\input{body/chapter6.tex}
\clearemptydoublepage
\input{body/chapter7.tex}
\clearemptydoublepage
\input{body/conclusion.tex}
%%%% TAIL OF THE DOCUMENT
\backmatter
%list of figures
\listoffigures
\clearemptydoublepage
%list of tables
\listoftables
\clearemptydoublepage
%bibliography
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{bibliography/bibThesis}
\bibliographystyle{ieeetr}
\clearemptydoublepage
\end{document}