Consider this MWE.

\documentclass[b5paper,twoside,12pt]{memoir}
\usepackage{lipsum}
\usepackage{palatino}

\begin{document}
\tableofcontents*
\cleardoublepage
\part{First Part}
\chapter{One}
\lipsum
\chapter{Two}
\lipsum
\part{Second Part}
\chapter{Three}
\lipsum
\chapter{Four}
\lipsum
\end{document}

How to suppress the page number for parts in the ToC? I tried to use tocstyle but got error messages instead.

up vote 3 down vote accepted

memoir provides the command \cftpagenumbersoff{...}:

\documentclass[b5paper,twoside,12pt]{memoir}
\usepackage{lipsum}
\usepackage{palatino}

\cftpagenumbersoff{part}% <- added

\begin{document}
\tableofcontents*
\cleardoublepage
\part{First Part}
\chapter{One}
\lipsum
\chapter{Two}
\lipsum
\part{Second Part}
\chapter{Three}
\lipsum
\chapter{Four}
\lipsum
\end{document}

enter image description here

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.