no-numbers-on-table-of-contents.tex 695 B

12345678910
  1. % BEGIN CODE TO FORCE NO PAGE NUMBER ON ToC
  2. \usepackage{tocloft}
  3. \addtocontents{toc}{\cftpagenumbersoff{part}} %% Similarly for subsection, figure... as you wish
  4. \addtocontents{toc}{\cftpagenumbersoff{section}} %% Similarly for subsection, figure... as you wish
  5. \addtocontents{toc}{\cftpagenumbersoff{chapter}}
  6. \addtocontents{toc}{\cftpagenumbersoff{section}} %% Similarly for subsection, figure... as you wish
  7. \addtocontents{toc}{\cftpagenumbersoff{subsection}} %% Similarly for subsection, figure... as you wish
  8. \renewcommand{\cftdot}{} %empty {} for no dots. you can have any symbol inside. For example put {\ensuremath{\ast}} and see what happens.
  9. % END CODE TO FORCE NO PAGE NUMBER ON ToC