Purtroppo non mi funziona…
Inserendo soltanto il package ho notato che si riduce lo spazio tra il bordo superiore del foglio e il titolo del capitolo (in questo caso l’ indice, l’elenco delle tabelle e l’elenco delle figure).
Inserendo i comandi:
\usepackage{tocloft}
\setlength{\cftXindent}{0pt}
nel preambolo ottengo i seguenti messaggi di errore:
! Undefined control sequence.
l.21 \setlength{\cftXindent}{0pt}
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., `\hobx’), type `I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H
…
l.21 \setlength{\cftXindent}{0pt}
You’re in trouble here. Try typing
If that doesn’t work, type X
Se invece inserisco il package nel preambolo e il comando setlength nel corpo del documento ottengo quest’altro messaggio di errore:
! Undefined control sequence.
l.40 \setlength{\cftXindent}{0pt}
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., `\hobx’), type `I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.
In ogni caso nel file in pdf si riduce lo spazio tra il bordo superiore del foglio ed il titolo del capitolo.
Riesci a capire cosa c’è che non va?
Grazie.