-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelazione.tex
134 lines (112 loc) · 3.09 KB
/
relazione.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
\documentclass[a4paper,11pt]{book}
%% Language and font encodings
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
%% Euro symbol
\usepackage{textcomp}
%% tabel rows
%% color rows table
\usepackage{xcolor}
\usepackage{color}
\usepackage{colortbl}
\usepackage[labelformat=empty, position=top]{subcaption}
\usepackage[export]{adjustbox}
\definecolor{grayrow}{rgb}{0.85, 0.85, 0.85}
\definecolor{lightgray}{rgb}{0.83, 0.83, 0.83}
\definecolor{darkgrayrow}{rgb}{0.7, 0.7, 0.7}
\definecolor{RoyalRed}{rgb}{0.61,0.11,0.19}
\usepackage{emptypage} % remove header in blanck pages
%% Sets page size and margins
\usepackage[a4paper,top=3cm,bottom=2cm,left=3cm,right=3cm,marginparwidth=1.75cm]{geometry}
%% Useful packages
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{epigraph}
%\usepackage[colorinlistoftodos]{todonotes}
\usepackage[colorlinks=true, allcolors=blue]{hyperref}
% include file and not recompile it
\usepackage{standalone}
\usepackage{dsfont}
%% images directory
\graphicspath{{img/}}
%% colors
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=blue
}
\usepackage{numprint}
\npthousandsep{\,}
\usepackage{listings}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{snippet}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\ttfamily\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=t,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstdefinestyle{c++}{
backgroundcolor=\color{backcolour},
commentstyle=\color{green}\ttfamily,
keywordstyle=\color{blue}\ttfamily,
numberstyle=\tiny\color{codegray},
stringstyle=\color{red}\ttfamily,
basicstyle=\ttfamily\footnotesize,
morecomment=[l][\color{magenta}]{\#}
breakatwhitespace=false,
breaklines=true,
captionpos=t,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstdefinestyle{Java}{
backgroundcolor=\color{backcolour},
commentstyle=\color{green}\ttfamily,
keywordstyle=\color{blue}\ttfamily,
numberstyle=\tiny\color{codegray},
stringstyle=\color{red}\ttfamily,
basicstyle=\ttfamily\footnotesize,
showspaces=false,
showtabs=false,
breaklines=true,
showstringspaces=false,
breakatwhitespace=true,
commentstyle=\color{codegray},
keywordstyle=\color{blue},
stringstyle=\color{red},
basicstyle=\ttfamily,
moredelim=[il][\textcolor{codegray}]{$$},
moredelim=[is][\textcolor{codegray}]{\%\%}{\%\%}
}
\usepackage[]{algorithm2e}
%% Custom commands
\newcommand{\quotes}[1]{``#1''}
%% Start Document
\begin{document}
\input{./tex/Relazione.tex}
\bibliographystyle{abbrv}
\bibliography{biblio}
\end{document}