1
0

Fix indexing for roman-numbered pages

This commit is contained in:
2026-07-18 00:03:31 +02:00
parent 41a76da11b
commit 0b057a3829
+34 -6
View File
@@ -210,15 +210,43 @@
\clearpage
\pagenumbering{roman}
\tableofcontents % Genera l'Indice
\renewcommand{\listfigurename}{Elenco delle Figure}
\listoffigures % Genera la Lista delle Figure
\renewcommand{\lstlistingname}{Codice}
\renewcommand{\lstlistlistingname}{Elenco dei Codici}
% indice
\tableofcontents
\addcontentsline{toc}{chapter}{\contentsname}
\lstlistoflistings % Genera la Lista dei Codici
% figure
\cleardoublepage
\phantomsection
\renewcommand{\listfigurename}{Figure}
\listoffigures
\addcontentsline{toc}{chapter}{\listfigurename}
% grafico
\cleardoublepage
\phantomsection
\listofgraphs
\addcontentsline{toc}{chapter}{Grafici}
% codice
\cleardoublepage
\phantomsection
\renewcommand{\lstlistingname}{Codice}
\renewcommand{\lstlistlistingname}{Codice}
\lstlistoflistings
\addcontentsline{toc}{chapter}{\lstlistlistingname}
% acronimi
\cleardoublepage
\phantomsection
\chapter*{Acronimi}
\addcontentsline{toc}{chapter}{Acronimi}
\printacronyms[heading=none]
\clearpage
\pagestyle{scrplain}
\pagenumbering{arabic}
\clearpage
\pagestyle{scrplain}
\pagenumbering{arabic}