I need to print a lightweight version of my ToC : without the dots and without the page index numbers. I've already tried with tocloft package and so on, but nothing works.
How can I achieve that ?
I'm using the report document class.
Thanks
I need to print a lightweight version of my ToC : without the dots and without the page index numbers. I've already tried with tocloft package and so on, but nothing works.
How can I achieve that ?
I'm using the report document class.
Thanks
The tocloft provides all means for this:
dotsep value of, say, 10000 or \cftnodots, meaning a huge distance between the dots
This is done by \newcommand{\cftsectiondotsep}{\cftnodots} etc. for each structure level, i.e. subsection etc. \cftpagenumbersoff{section}, as well, for each structure level separately.\documentclass{article}
\usepackage{tocloft}
\usepackage{blindtext}
\makeatletter
\newcommand{\cftsectiondotsep}{\cftnodots}
\newcommand{\cftsubsectiondotsep}{\cftnodots}
\newcommand{\cftsubsubsectiondotsep}{\cftnodots}
\cftpagenumbersoff{section}
\cftpagenumbersoff{subsection}
\cftpagenumbersoff{subsubsection}
\makeatother
\begin{document}
\tableofcontents
\clearpage
\blinddocument
\end{document}