-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtesi-config.tex
261 lines (206 loc) · 7.9 KB
/
tesi-config.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
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
249
250
251
252
253
254
255
256
257
258
259
260
261
%**************************************************************
% file contenente le impostazioni della tesi
%**************************************************************
%**************************************************************
% Frontespizio
%**************************************************************
% Autore
\newcommand{\myName}{Lucrezia Gradi}
\newcommand{\myTitle}{Implementazione di Algoritmi Euristici per il Fleet Quickest Routing Problem su Grafi a Griglia}
\newcommand{\myMat}{1142606}
% Tipo di tesi
\newcommand{\myDegree}{Tesi di laurea}
% Università
\newcommand{\myUni}{Università degli Studi di Padova}
% Facoltà
\newcommand{\myFaculty}{Corso di Laurea in Informatica}
% Dipartimento
\newcommand{\myDepartment}{Dipartimento di Matematica "Tullio Levi-Civita"}
% Titolo del relatore
\newcommand{\profTitle}{Prof. }
% Relatore
\newcommand{\myProf}{Luigi De Giovanni}
% Luogo
\newcommand{\myLocation}{Padova}
% Anno accademico
\newcommand{\myAA}{2020-2021}
% Data discussione
\newcommand{\myTime}{Settembre 2021}
%**************************************************************
% Impostazioni di impaginazione
% see: http://wwwcdf.pd.infn.it/AppuntiLinux/a2547.htm
%**************************************************************
\setlength{\parindent}{14pt} % larghezza rientro della prima riga
\setlength{\parskip}{0pt} % distanza tra i paragrafi
%**************************************************************
% Impostazioni di biblatex
%**************************************************************
\bibliography{bibliografia} % database di biblatex
\defbibheading{bibliography} {
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}
\chapter*{\bibname\markboth{\bibname}{\bibname}}
}
\setlength\bibitemsep{1.5\itemsep} % spazio tra entry
\DeclareBibliographyCategory{opere}
\DeclareBibliographyCategory{web}
%**************************************************************
% Impostazioni di caption
%**************************************************************
\captionsetup{
tableposition=top,
figureposition=bottom,
font=small,
format=hang,
labelfont=bf
}
%**************************************************************
% Impostazioni di glossaries
%**************************************************************
\input{glossario} % database di termini
\makeglossaries
%**************************************************************
% Impostazioni di graphicx
%**************************************************************
\graphicspath{{immagini/}} % cartella dove sono riposte le immagini
%**************************************************************
% Impostazioni di hyperref
%**************************************************************
\hypersetup{
%hyperfootnotes=false,
%pdfpagelabels,
%draft, % = elimina tutti i link (utile per stampe in bianco e nero)
colorlinks=true,
linktocpage=true,
pdfstartpage=1,
pdfstartview=,
% decommenta la riga seguente per avere link in nero (per esempio per la stampa in bianco e nero)
colorlinks=false, linktocpage=false, pdfborder={0 0 0}, pdfstartpage=1, pdfstartview=FitV,
breaklinks=true,
pdfpagemode=UseNone,
pageanchor=true,
pdfpagemode=UseOutlines,
plainpages=false,
bookmarksnumbered,
bookmarksopen=true,
bookmarksopenlevel=1,
hypertexnames=true,
pdfhighlight=/O,
%nesting=true,
%frenchlinks,
urlcolor=webbrown,
linkcolor=RoyalBlue,
citecolor=webgreen,
%pagecolor=RoyalBlue,
%urlcolor=Black, linkcolor=Black, citecolor=Black, %pagecolor=Black,
pdftitle={\myTitle},
pdfauthor={\textcopyright\ \myName, \myUni, \myFaculty},
pdfsubject={},
pdfkeywords={},
pdfcreator={pdfLaTeX},
pdfproducer={LaTeX}
}
%**************************************************************
% Impostazioni di itemize
%**************************************************************
%\renewcommand{\labelitemi}{$\ast$}
%\renewcommand{\labelitemi}{$\bullet$}
\renewcommand{\labelitemii}{$\cdot$}
%\renewcommand{\labelitemiii}{$\diamond$}
%\renewcommand{\labelitemiv}{$\ast$}
%**************************************************************
% Impostazioni di listings
%**************************************************************
\lstset{
language=[LaTeX]Tex,%C++,
keywordstyle=\color{RoyalBlue}, %\bfseries,
basicstyle=\small\ttfamily,
%identifierstyle=\color{NavyBlue},
commentstyle=\color{Green}\ttfamily,
stringstyle=\rmfamily,
numbers=none, %left,%
numberstyle=\scriptsize, %\tiny
stepnumber=5,
numbersep=8pt,
showstringspaces=false,
breaklines=true,
frameround=ftff,
frame=single
}
%**************************************************************
% Impostazioni di xcolor
%**************************************************************
\definecolor{webgreen}{rgb}{0,.5,0}
\definecolor{webbrown}{rgb}{.6,0,0}
%**************************************************************
% Altro
%**************************************************************
\newcommand{\omissis}{[\dots\negthinspace]} % produce [...]
% eccezioni all'algoritmo di sillabazione
\hyphenation
{
ma-cro-istru-zio-ne
gi-ral-din
}
\newcommand{\sectionname}{sezione}
\addto\captionsitalian{\renewcommand{\figurename}{Figura}
\renewcommand{\tablename}{Tabella}}
\newcommand{\glsfirstoccur}{\ap{{[g]}}}
\newcommand{\intro}[1]{\emph{\textsf{#1}}}
%**************************************************************
% Environment per ``rischi''
%**************************************************************
\newcounter{riskcounter} % define a counter
\setcounter{riskcounter}{0} % set the counter to some initial value
%%%% Parameters
% #1: Title
\newenvironment{risk}[1]{
\refstepcounter{riskcounter} % increment counter
\par \noindent % start new paragraph
\textbf{\arabic{riskcounter}. #1} % display the title before the
% content of the environment is displayed
}{
\par\medskip
}
\newcommand{\riskname}{Rischio}
\newcommand{\riskdescription}[1]{\textbf{\\Descrizione:} #1.}
\newcommand{\risksolution}[1]{\textbf{\\Soluzione:} #1.}
%**************************************************************
% Environment per ``use case''
%**************************************************************
\newcounter{usecasecounter} % define a counter
\setcounter{usecasecounter}{0} % set the counter to some initial value
%%%% Parameters
% #1: ID
% #2: Nome
\newenvironment{usecase}[2]{
\renewcommand{\theusecasecounter}{\usecasename #1} % this is where the display of
% the counter is overwritten/modified
\refstepcounter{usecasecounter} % increment counter
\vspace{10pt}
\par \noindent % start new paragraph
{\large \textbf{\usecasename #1: #2}} % display the title before the
% content of the environment is displayed
\medskip
}{
\medskip
}
\newcommand{\usecasename}{UC}
\newcommand{\usecaseactors}[1]{\textbf{\\Attori Principali:} #1. \vspace{4pt}}
\newcommand{\usecasepre}[1]{\textbf{\\Precondizioni:} #1. \vspace{4pt}}
\newcommand{\usecasedesc}[1]{\textbf{\\Descrizione:} #1. \vspace{4pt}}
\newcommand{\usecasepost}[1]{\textbf{\\Postcondizioni:} #1. \vspace{4pt}}
\newcommand{\usecasealt}[1]{\textbf{\\Scenario Alternativo:} #1. \vspace{4pt}}
%**************************************************************
% Environment per ``namespace description''
%**************************************************************
\newenvironment{namespacedesc}{
\vspace{10pt}
\par \noindent % start new paragraph
\begin{description}
}{
\end{description}
\medskip
}
\newcommand{\classdesc}[2]{\item[\textbf{#1:}] #2}