-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
194 lines (166 loc) · 4.72 KB
/
main.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
\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{longtable}
\usepackage{graphicx}
\usepackage{array}
\usepackage{caption}
\usepackage{graphicx}
\usepackage{rotating}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tcolorbox}
\usepackage{tabularx}
\usepackage{array}
\usepackage{colortbl}
\usepackage{color}
\usepackage{multicol}
\tcbuselibrary{skins}
%\usepackage[italian]{babel}
%Disable all warnings issued by latex starting with "You have..."
\usepackage{silence}
\WarningFilter{latex}{You have requested package}
\pdfsuppresswarningpagegroup=1
%Bib
\usepackage[
backend=biber,
style=alphabetic,
sorting=ynt
]{biblatex}
\addbibresource{References.bib}
\usepackage{csquotes}
%\usepackage{natbib}
%Import
\usepackage{tabularx}
\usepackage{marvosym}
\usepackage{fancyvrb}
%\usepackage[usenames]{color}
\usepackage[hidelinks]{hyperref}
\usepackage{url}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{amsmath,amsfonts,amssymb,amsthm,mathtools}
\usepackage{caption}
\usepackage{enumerate}
\usepackage{multicol}
\usepackage{subcaption}
\usepackage{float}
\usepackage{indentfirst}
\usepackage{tocloft}
\usepackage{ifthen}
%\usepackage[most]{tcolorbox}
\usepackage{pgfplots}
%\usepackage{Style/pgfplotsthemetol}
\pgfplotsset{compat=1.16}
\usepackage{listings}
\definecolor{lstgrey}{rgb}{0.94,0.95,1}
\lstset{
language=python,
backgroundcolor=\color{lstgrey},
frame=single,
rulecolor=\color{lstgrey}, % make frame "invisible"
captionpos=t,
tabsize=2,
numberbychapter=false,
showstringspaces=false,
basicstyle=\footnotesize,
breaklines=true,
}
%LINK CLICCABILI
\hypersetup{
colorlinks = true,
linkcolor = .,
citecolor = {blue},
linkbordercolor = {white},
urlcolor = {blue},
}
%TABELLE TBCOLORBOX
\tcbset{
enhanced,
colback=red!5!white,
boxrule=0.1pt,
colframe=red!75!black,
fonttitle=\bfseries
}
%TAB2
\newcolumntype{Y}{>{\raggedleft\arraybackslash}X}
\tcbset{tab1/.style={fonttitle=\bfseries\large,fontupper=\normalsize\sffamily,
colback=yellow!10!white,colframe=red!75!black,colbacktitle=Salmon!40!white,
coltitle=black,center title,freelance,frame code={
\foreach \n in {north east,north west,south east,south west}
{\path [fill=red!75!black] (interior.\n) circle (3mm); };},}}
\tcbset{tab2/.style={enhanced,fonttitle=\bfseries,fontupper=\normalsize\sffamily,
colback=yellow!10!white,colframe=red!50!black,colbacktitle=Salmon!40!white,
coltitle=black,center title}}
%PATH IMMAGINI
%\graphicspath{{Images/}{DrawIo/}}
\newcommand{\emailaddr}[1]{\href{mailto:#1}{\texttt{#1}}}
%%%%% Full-Version or Smart City-Version Variable %%%%%%
\newcounter{SmartCity}
\ifx\SmartCity\undefined %if variable undefined
% Smart City Version
\setcounter{SmartCity}{0} % <-- to switch versions CHANGE HERE, remember to PUT IT BACK TO 0
% 1=True (SmartCity-version, shorter)
% 0=False (Full-version)
\else
%% Defined from argument passed when compiling
\setcounter{SmartCity}{\SmartCity}
\fi
\ifthenelse{\value{SmartCity}=1}{
\title{\LARGE
RELAZIONE DI PROGETTO \\ DI \\ “SMART CITY E TECNOLOGIE MOBILI” \\
\hrulefill \\
Smart DogHouse \\
\hrulefill \\
}
\author{
Kiade Sara \\ \emailaddr{sara.kiade@studio.unibo.it}
\and
Caminati Gyordan \\ \emailaddr{gyordan.caminati@studio.unibo.it}
\and
Lirussi Igor \\ \emailaddr{igor.lirussi@studio.unibo.it}
\\ \\ \\
Numero Gruppo: 97
}
}{ % parte visualizzata SOLO full-version
\title{\LARGE
RELAZIONE DI PROGETTO \\
\hrulefill \\
Smart DogHouse \\
\hrulefill \\
}
\author{
Kiade Sara \\ \emailaddr{sara.kiade@studio.unibo.it}
\and
Caminati Gyordan \\ \emailaddr{gyordan.caminati@studio.unibo.it}
\and
Lirussi Igor \\ \emailaddr{igor.lirussi@studio.unibo.it}
\\ \\ \\
}
}
\date{\today}
\begin{document}
\maketitle
\include{Tex/Abstract}
\tableofcontents
% CONTENUTI
\include{Tex/Intro}
\include{Tex/StateOfTheArt}
\ifthenelse{\value{SmartCity}=0} { % NON per Smart-city
\include{Tex/DevProcess}
\include{Tex/AnalysisProblemSpace}
}
\include{Tex/AnalysisRequirements}
\ifthenelse{\value{SmartCity}=0} { % NON per Smart-city
\include{Tex/AspettiDDD}
}
\include{Tex/ArchitecturalDesign}
\include{Tex/Design}
\include{Tex/Implementation}
\include{Tex/TestingAndPerformance}
\include{Tex/LargeScaleDeployment}
\include{Tex/WorkPlan}
\include{Tex/Sprints}
\include{Tex/Conclusion}
\nocite{*} % Includes all references from the `references.bib` file
\printbibliography[title={Bibliografia completa}]
\end{document}