-
Notifications
You must be signed in to change notification settings - Fork 1
/
thesis.tex
158 lines (146 loc) · 4.08 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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% MSc THESIS %
% %
% TEST OF THE BEAM EFFECT ON A VACUUM ARC OCCURRENCE IN A HIGH-GRADIENT %
% ACCELERATING STRUCTURE FOR THE CLIC PROJECT %
% %
% %
% by Eugenio Senes (UniTo and CERN) %
% %
% Avisor: Prof. Martino Gagliardi (UniTo) %
% Co-advisor: Dr. Frank Tecker (CERN) %
% Examiner: Prof. Ferruccio Balestra (UniTo) %
% %
% based on my template in https://github.com/esenes/Unito-thesis-template %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 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
%% SET MARGINS OF THE PAGES
\usepackage{geometry}
\geometry{a4paper,portrait, left=40mm, right=30mm, top=35mm, bottom=30mm}
%% HEADERS AND FOOTERS
\usepackage{fancyhdr}
\pagestyle{fancy}
\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={Eugenio Senes},
pdftitle={MSc-Thesis},
pdfsubject={},
pdfkeywords={vacuum-arcs,RF,breakdown}
}
%% 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}
\usepackage{ mathrsfs }
%% CHAPTERS STRUCTURE
\usepackage[italian,english]{babel} %%Set English as main language of the document
%% FIGURES
\usepackage{graphicx}
\usepackage{subfigure} %%Allow side by side figure
%% TABLES
\usepackage{multirow}
\usepackage{booktabs}
%%CAPTIONS
\usepackage{caption}
%% BIBLIOGRAPHY
\usepackage[babel]{csquotes}
%% HYPENATON
\hyphenation{ ac-ce-le-ra-zio-ne ac-ce-le-ra-to-re pres-ent-ly plas-ma}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% BEGIN DOCUMENT
\begin{document}
%%%% HEAD OF THE DOCUMENT
\frontmatter
%%FRONT PAGE
\input{head/frontPage.tex}
\clearemptydoublepage
%%DEDICATION (the initial quote)
\input{head/dedication}
\clearemptydoublepage
%%ABSTRACT
\input{head/abstract}
\input{head/abstractITA}
\clearemptydoublepage
%%INDEXES
%summary
\tableofcontents
\clearemptydoublepage
%%%% BODY OF THE DOCUMENT
\mainmatter
%%INTRODUCTION
\input{body/introduction.tex}
\clearemptydoublepage
%% CHAPTERS
% add any further chapter file here
\input{body/chapter1.tex}
\clearemptydoublepage
\input{body/chapter2.tex}
\clearemptydoublepage
\input{body/chapter3_1.tex}
\clearemptydoublepage
\input{body/chapter3.tex}
\clearemptydoublepage
\input{body/chapter4.tex}
\clearemptydoublepage
\input{body/chapter5.tex}
\clearemptydoublepage
%%%% TAIL OF THE DOCUMENT
\backmatter
\input{tail/acknowledgments}
\addcontentsline{toc}{chapter}{Acknowledgments}
%list of abbreviations
\clearemptydoublepage
\input{tail/abbreviations.tex}
\addcontentsline{toc}{chapter}{List of Abbreviations}
\clearemptydoublepage
%list of figures
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
\clearemptydoublepage
%list of tables
\addcontentsline{toc}{chapter}{\listtablename}
\listoftables
\clearemptydoublepage
%bibliography
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{bibliography/bibThesis}
\bibliographystyle{ieeetr}
\clearemptydoublepage
\end{document}