Ciao Tommaso,
il mio file sorgente inizia così:
\documentclass[12pt, a4paper, twoside, openany, titlepage]{book}
\usepackage[applemac]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{indentfirst}
\usepackage[italian]{babel}
\usepackage{fancyhdr}
\usepackage{showkeys}
\usepackage[dvips]{graphicx}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{latexsym}
\usepackage{amsthm}
\usepackage{eucal}
\usepackage{eufrak}
\usepackage{graphicx}
\usepackage[signatures]{frontespizio}
\pagestyle{fancy}\addtolength{\headwidth}{20pt}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection \ #1}{}}
\cfoot{}
\rhead[\fancyplain{}{\bfseries\leftmark}]{\fancyplain{}{\bfseries\thepage}}
\lhead[\fancyplain{}{\bfseries\thepage}]{\fancyplain{}{\bfseries\rightmark}}
\usepackage{amsthm}
\theoremstyle{plain}
\newtheorem{thm}{Teorema}[section]
\newtheorem{cor}[thm]{Corollario}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposizione}
\theoremstyle{definition}
\newtheorem{exmp}{Esempio}[section]
\theoremstyle{definition}
\newtheorem{defn}{Definizione}[chapter]
\theoremstyle{remark}
\newtheorem{oss}{Osservazione}
\bibliographystyle{plain, abbrv}
\begin{document}
\begin{frontespizio}
\Universita{Milano}
\Logo{tesiSCIENZE_TECNOLOGIE}
\Facolta{Scienze Matematiche, Fisiche e Naturali}
\Corso[Laurea]{Matematica}
\Titoletto{Tesi di laurea}
\Titolo{CH-gruppi}
\Candidato[721914]{William Giuliano}
\Relatore{Prof. Mariagrazia BIANCHI}
\Annoaccademico{2014-2015}
\end{frontespizio}
\tableofcontents
%Introduzione della tesi
Grazie!