diff --git a/.gitignore b/.gitignore
index 3266ae733ca08354df88360db9ad97267029773c..55da57ee98455adfc2056ad076993dd50e39bce5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,9 @@
 # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
 # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
 
+**/auxil/*
+**/out/*
+
 # User-specific stuff
 **/.idea/*
 .idea/**/workspace.xml
diff --git a/Makefile b/Makefile
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..26f245c58b217752989f70d8dd4da154123f2d8f 100644
--- a/Makefile
+++ b/Makefile
@@ -0,0 +1,3 @@
+clean:
+	rm -rf ./out/*
+	rm -rf ./auxil/*
\ No newline at end of file
diff --git a/relazione/src/FERRON_relazione.cfg b/relazione/src/FERRON_relazione.cfg
index 30ae1622edf187400088a936f48b06a31826a5c8..1cee0f97fd8d7ff1fda9f577224381d9eacd3d18 100644
--- a/relazione/src/FERRON_relazione.cfg
+++ b/relazione/src/FERRON_relazione.cfg
@@ -2,7 +2,7 @@
 \StrutturaDi{Dipartimento di }
 \struttura{Scienze e Innovazione Tecnologica}
 \NomeElaborato{Relazione per la prova finale}
-\titolo{SVILUPPO DI UNA PIATTAFORMA E-COMMERCE PER LA VENDITA DI MOBILI METALLIZZATI}
+\titolo{\MakeUppercase{SVILUPPO DI UNA PIATTAFORMA \ecommerce PER LA VENDITA DI MOBILI METALLIZZATI}}
 %\renewcommand{\NomeCorsoDiStudi}{\textbf{Corso di Laurea in}}
 \corsodistudi{Informatica}
 \candidato{Lorenzo \textsc{Ferron}}
diff --git a/relazione/src/FERRON_relazione.tex b/relazione/src/FERRON_relazione.tex
index 666cdf3440324f3d97e6c559f446b3e96ea81e55..3dfc27cd9246c8b6908c35e6a8621248867b9ee4 100644
--- a/relazione/src/FERRON_relazione.tex
+++ b/relazione/src/FERRON_relazione.tex
@@ -3,14 +3,16 @@
 % !TEX TS-program = lualatex
 % !TeX encoding = UTF-8
 
-\ProvidesFile{FERRON_relazione.tex}
+\providecommand{\optpdfx}{a-2b,mathxmp,LATxmp} %option x-4 for print, a-2b for archive (also display)
+
+% Preamble
+\ProvidesFile{FERRON_relazione.tex}[]
 \documentclass[%
 corpo=11.5pt,%
 tipotesi=triennale,%
 evenboxes,%
 %draft,%
-%libro,% uncomment to print PDF
-%twoside% uncomment to print PDF
+%libro,twoside% uncomment to print PDF
 ]{toptesi}
 
 \usepackage{makeidx}
@@ -27,14 +29,20 @@ evenboxes,%
 	\Source{\jobname.tex}
 	%\Publisher{}
 \end{pdfxmetadata}
-\usepackage[a-2b]{pdfx} %option x-4 for print, a-2b for archive (also display)
+\usepackage[\optpdfx]{pdfx}
 
 \errorcontextlines=9% more information on the console in case of errors
 
-\usepackage{fix-cm}
-\setmainfont{TeX Gyre Termes}% font Times                             %
-\setsansfont[Scale=MatchLowercase]{TeX Gyre Heros}% font Helvetica    %
-\setmonofont{UM Typewriter}% font typewriter un po' più scuri del font Courier       %
+\setmainfont[Ligatures=TeX]{TeX Gyre Termes}% font Times
+\setsansfont[Ligatures=TeX, Scale=MatchLowercase]{TeX Gyre Heros}% font Helvetica
+\setmonofont{UM Typewriter}% font typewriter un po' più scuri del font Courier
+\usepackage{amsmath,amsthm} % per la matematica estesa
+\usepackage[math-style=ISO]{unicode-math}% per la matematica UNICODE
+																	  % specify math-style=ISO for ISO compliant math
+																	  % specify math-style=TeX for TeX standard style
+\setmathfont{XITS Math}[partial=upright]% font matematici UNICODE che
+%                                          						  van bene con i Times
+\setmathfont[range={\mathcal,\mathbfcal},Alternate]{Asana Math}
 
 \SetLanguageKeys{italian}{indentfirst=false}
 
@@ -95,7 +103,7 @@ natbib
 \begin{document}
 
 	\begin{ThesisTitlePage}
-		% Empty body...
+		% see FERRON_relazione.cfg
 	\end{ThesisTitlePage}
 
 	\sommario