-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththesis.tex
More file actions
248 lines (208 loc) · 7.06 KB
/
thesis.tex
File metadata and controls
248 lines (208 loc) · 7.06 KB
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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
\documentclass[12pt,a4paper,twoside,openright]{report}
\usepackage{algpseudocode,algorithm} % alghoritms and pseudocode
\usepackage{listings} % code snippets
\usepackage{amsmath,amsfonts,amsthm,amssymb} % math stuff
\usepackage{fancyhdr} % control page header and footer
\usepackage{hyperref}
\usepackage{array} % tabular and array utils
\usepackage{lscape} % for landscape placement
\usepackage{graphicx} % for images
\usepackage[english]{babel} % language support
\usepackage[nottoc]{tocbibind} % bibliography to toc
\usepackage{color}
\usepackage{float} % for floating objects
\usepackage{setspace}
\usepackage[utf8]{inputenc}
\definecolor{light-gray}{gray}{0.95}
\definecolor{yellow}{RGB}{255, 251, 140}
\pagestyle{fancy}
\sloppy
\raggedbottom
\linespread{1.5}
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}
\vspace*{\fill}
\begin{center}
% this page intentionally contains only this sentence.
\end{center}
\vspace{\fill}
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
%------------------------------------------------------
% hyphenation settings
%------------------------------------------------------
\lefthyphenmin=4
\righthyphenmin=4
\tolerance=1000
\hyphenpenalty=100
\emergencystretch=1cm
\widowpenalty=5000
\clubpenalty=2500
%--------------------------------------------------------
% pages size setup
%--------------------------------------------------------
\renewcommand{\headrulewidth}{0.5pt}
\hoffset=-15mm
%\topmargin=0mm
\headheight=15pt
\textwidth=140mm
\headsep=5mm
\voffset=-5mm
%\hsize=13cm
%\textwidth=164mm
\textheight=230mm
\evensidemargin=25mm
\oddsidemargin=25mm
%\marginparwidth=0mm
\def \texthalfwidth {70mm}
%--------------------------------------------------------------
% page headers setup
%--------------------------------------------------------------
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyfoot[LE,RO]{\bfseries\thepage}
\fancyhead[RO]{\bfseries\rightmark}
\fancyhead[LE]{\bfseries\leftmark}
\fancypagestyle{plain}{
\fancyhead{}
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt}
}
%--------------------------------------------------------------------------------
% custom commands
%--------------------------------------------------------------------------------
\newcommand{\newparagraph}{\noindent\\}
\newcommand{\xmark}{\ding{55}}
\newcommand{\cmark}{\ding{51}}
\makeatletter
\newcommand\footnoteref[1]{\protected@xdef\@thefnmark{\ref{#1}}\@footnotemark}
\makeatother
% usage:
% \footnote{\label{note1} bla bla}
% ... \footnoteref{note1}
% defining single line code blocks with monospace font and light-gray backgounf
\newcommand{\code}[1]{\colorbox{light-gray}{\texttt{#1}}}
% note command
\newcommand{\todo}[1]{\colorbox{yellow}{\textbf{\#TODO} #1}}
%--------------------------------------------------------------------------------
% document start
%--------------------------------------------------------------------------------
\begin{document}
\pagenumbering{roman}
\setcounter{page}{1}
\pagestyle{empty}
%--------------------------------------------------------------------------------
% listings configiuration
%--------------------------------------------------------------------------------
\lstset{
frame=tb,
captionpos=b,
basicstyle=\footnotesize,
numbers=left,
aboveskip=1em
}
%--------------------------------------------------------------------------------
% include title page
%--------------------------------------------------------------------------------
\include{title}
%--------------------------------------------------------------------------------
% acknowledgements
%--------------------------------------------------------------------------------
\chapter*{Ringraziamenti}
{
\usefont{T1}{ptm}{m}{it}
\input{ack_affo}
\begin{flushright}
Lorenzo Affetti
\end{flushright}
}
\cleardoublepage
{
\usefont{T1}{ptm}{m}{it}
\noindent
\input{ack_bear}
\begin{flushright}
Giacomo Bresciani
\end{flushright}
}
\pagestyle{fancy}
\renewcommand{\contentsname}{Table of Contents}%
%--------------------------------------------------------------------------------
% abstract
%--------------------------------------------------------------------------------
\chapter*{Abstract}
\input{abstract}
\chapter*{Sommario}
\input{sommario}
%--------------------------------------------------------------------------------
% talbe of contents
%--------------------------------------------------------------------------------
\tableofcontents
\cleardoublepage
\listoffigures
\listoftables
\listofalgorithms
\addcontentsline{toc}{chapter}{List of Algorithms}
\lstlistoflistings
\addcontentsline{toc}{chapter}{Listings}
\cleardoublepage
\pagenumbering{arabic}
\setcounter{page}{1}
%--------------------------------------------------------------------------------
% Introduction
%--------------------------------------------------------------------------------
\chapter{Introduction}
\label{chap:intro}
\input{chapters/introduction}
%--------------------------------------------------------------------------------
% OpenStack and DevStack
%--------------------------------------------------------------------------------
\chapter{OpenStack and DevStack}
\label{chap:openstack_devstack}
\input{chapters/openstack_devstack}
%--------------------------------------------------------------------------------
% State of the art
%--------------------------------------------------------------------------------
\chapter{State of the Art}
\label{chap:sota}
\input{chapters/sota}
%--------------------------------------------------------------------------------
% aDock
%--------------------------------------------------------------------------------
\chapter{aDock}
\label{chap:adock}
\input{chapters/adock}
%--------------------------------------------------------------------------------
% Consolidator
%--------------------------------------------------------------------------------
\chapter{Nova Consolidator}
\label{chap:consolidator}
\input{chapters/consolidator}
%--------------------------------------------------------------------------------
% Evaluations
%--------------------------------------------------------------------------------
\chapter{Evaluation}
\label{chap:eval}
\input{chapters/evaluation}
%--------------------------------------------------------------------------------
% Conclusions and future works
%--------------------------------------------------------------------------------
\chapter{Conclusions and Future Work}
\label{chap:conclusions}
\input{chapters/conclusions}
%--------------------------------------------------------------------------------
% appendices
%--------------------------------------------------------------------------------
%\part*{Appendices\label{part:app}\addcontentsline{toc}{part}{Appendices}}
%\appendix
%--------------------------------------------------------------------------------
% bibliography
%--------------------------------------------------------------------------------
\bibliographystyle{ieeetr}
\bibliography{thesis.bib}
\end{document}