13

I'm using the memoir class, and it adds the Table of Contents page to the TOC. It is... well... pretty redundant...

Any quick way to eliminate this?

\documentclass{memoir}

\begin{document}
\frontmatter
\tableofcontents

\mainmatter
\chapter{A Chapter}
\end{document}

Demonstration of contents in contents.

mforbes
  • 5,571

1 Answers1

15

Use the starred command version \tableofcontents* instead of \tableofcontents. This effectively places the command in a KeepFromToc environment, providing an alternate verbose solution (see pages 151 and 158 of the memoir manual):

\documentclass{memoir}

\begin{document}
\frontmatter
\begin{KeepFromToc}        % or simply \tableofcontents* 
  \tableofcontents
\end{KeepFromToc}

\mainmatter
\chapter{A Chapter}
\end{document}

Working solution.

mforbes
  • 5,571
lockstep
  • 250,273