19 Febbraio 2012 alle 20:17
#70078
::
Non serve titlesec né tocloft e puoi anche evitare di ridefinire [tt]\contentsname[/tt].
`\makeatletter
\renewcommand\tableofcontents{%
\begingroup
\par\noindent\footnotesize\textsc{Sommario:}%
\@starttoc{toc}%
\endgroup}
\let\ttl@contentsstretch\relax
\makeatother`
Messa così sembra facile, ma stavolta niente documentazione né esperimenti: c’è stato bisogno di leggere il codice (e non è nemmeno stato facile :)).
Ciao,
Antonio