0

I am using the book document class and am trying to suppress the page number print out in the ToC. I am using the commands

\phantomsection  
\addcontentsline{toc}{part}{lipsum} 

to include an entry in the ToC. This works fine for the entry but also prints the page number that I do not want.

  • 3
    \usepackage{tocloft} and \cftpagenumbersoff should work – user31729 Dec 26 '18 at 17:47
  • Worked a charm, thx Chris! And thx Martin for the edits re clarity! – James Dec 26 '18 at 20:46
  • 1
    Alright, but my name is Christian, not Chris ;-) – user31729 Dec 26 '18 at 21:03
  • \thispagestyle{empty} will also work. tocloft seems overkill. – John Kormylo Dec 30 '18 at 16:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.