Direi che André ha gettato la spugna un po’ troppo presto:
`\newlistof{listings}{lol}{\lstlistlistingname}
\renewcommand{\cftlistingspresnum}{\scshape\MakeTextLowercase}%
\renewcommand{\cftlistingsfont}{\normalfont}%
\renewcommand{\cftlistingspagefont}{\normalfont}%
\renewcommand{\cftlistingsleader}{\hspace{1.5em}}%
\renewcommand{\cftlistingsafterpnum}{\cftparfillskip}%
\let\l@lstlisting\l@listings
\let\lstlistoflistings\listoflistings`
I valori che ho dato ai comandi di tocloft relativi a questo tipo di indice sono presi da ClassicThesis e non sono sicuro che facciano ciò che si intende. Ma l’idea è quella.Puoi usare \lstlistoflistings o \listoflistings a piacere per produrre l’indice.
Visto che il trucco l’ho trovato? 🙂 Naturalmente va messo quando sono caricati sia listings che tocloft.
Funziona egregiamente! 😉 Alè! 😀
Grazie mille,
Lorenzo