[Tex/LaTex] Hiding the “Table of Contents” page from Table of Contents

memoirtable of contents

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.

Best Answer

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.

Related Question