Non dovrebbe succedere che la testatina risulti vuota, però. Hai anche ridefinito \sectionmark e \chaptermark? Mostra il codice completo, per favore.
Sì 😳
`\pagenumbering{roman}
\maketitle
\thispagestyle{empty}
%%usa il package fancyhdr x creare header e footer
\pagestyle{fancy}
%%ridefinisce modo di rappr. sezione e capitolo
\renewcommand{\sectionmark}[1]{%
\markright{\MakeUppercase {%
\ \ #1}}{}}
\renewcommand{\chaptermark}[1]{%
\markboth{\MakeUppercase{%
\ \ #1}}{}}
%%definisce header e footer
\fancyhead[RE]{}
\fancyhead[LE]{\thechapter . \slshape \leftmark}
\fancyhead[RO]{\thesection \slshape \rightmark}
\fancyhead[LO]{}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\addtolength{\headheight}{0.4pt}
\addtolength{\footskip}{0.4pt}
\clearpage{\pagestyle{empty}\cleardoublepage}
%%indice (non ha sezioni, dunque…)
%\fancyhead[LE]{Indice}
\fancyhead{}
\tableofcontents
\cleardoublepage
%%inizializza un nuovo contatore di pagine, quello vero adesso
\setcounter{page}{1}
\pagenumbering{arabic}
\fancyhead{}
\fancyfoot[CE]{\thepage}
%\addcontentsline{toc}{chapter}{Abstract}
% \begin{abstract}
% \input{chapters/abstract.tex}
% \end{abstract}
%\cleardoublepage
\addcontentsline{toc}{chapter}{Sommario}
\chapter*{Sommario}
\input{chapters/introduzione.tex}
\cleardoublepage
%%l'introduzione non ha sezioni, dunque anche qui…
% \fancyhead[LE]{\thechapter . \slshape \leftmark}
% \begin{chapter}{Introduzione}
% \input{chapters/introduzione.tex}
% \end{chapter}
% \cleardoublepage %dopo l'end{chapter} va un clearpage, per fissare un bug di fancyhdr.sty
\fancyhead[RO]{\thesection \slshape \rightmark}
\begin{chapter}{Generalità sulle reti di sensori sottomarini}
\label{ch:UWA}
\input{chapters/underwater.tex}
\end{chapter}
\clearpage
\fancyhead[RO]{\thesection \slshape \rightmark}
\begin{chapter}{Il canale acustico sottomarino}
\label{ch:canale}
\input{chapters/canale.tex}
\end{chapter}
\clearpage
\fancyhead[RO]{\thesection \slshape \rightmark}
\begin{chapter}{Architettura di una rete Delay/Disruption Tolerant}
\label{ch:dtn_arch}
\input{chapters/dtn_arch.tex}
\end{chapter}
\clearpage
\fancyhead[RO]{\thesection \slshape \rightmark}
\begin{chapter}{Routing in una rete Delay/Disruption Tolerant}
\label{ch:dtn_rout}
\input{chapters/dtn_routing.tex}
\end{chapter}
\clearpage
\fancyhead[RO]{\thesection \slshape \rightmark}
\begin{chapter}{Simulazione}
\label{ch:sim}
\input{chapters/simulazione.tex}
\end{chapter}
\clearpage
\fancyhead[RO]{\thesection \slshape \rightmark}
\begin{chapter}{Risultati}
\label{ch:ris}
\input{chapters/risultati.tex}
\end{chapter}
\clearpage
\addcontentsline{toc}{chapter}{Conclusioni}
\chapter*{Conclusioni}
\input{chapters/conclusioni.tex}
\cleardoublepage
%%aggiunge la bibliografia all'indice
\addcontentsline{toc}{chapter}{Bibliografia}
\fancyhead[LE]{Bibliografia} %%niente sezioni anche qui, ovvio….
\nocite{*}
\bibliographystyle{plain}
\bibliography{biblio}
\cleardoublepage
%
\addcontentsline{toc}{chapter}{Tabella delle figure}
\fancyhead[LE]{\slshape Tabella delle figure}
\listoffigures
\cleardoublepage`
Il filetto in basso, insieme a quello in alto fa molto annuncio funebre.
Come darti torto? Cosa mi consigli?
Grazie mille,
Giuseppe