# Clear tableofcontents page in memoir

How do I clear the \tableofcontents page in memoir?

\documentclass[a4paper]{memoir}
\begin{document}
\begin{titlingpage}
\maketitle
\end{titlingpage}

{\thispagestyle{empty} %but is not work
\tableofcontents}

\chapter{Memoir com Estilo de Página}

\end{document}

-
This source (nw360.blogspot.com/2007/10/creat-empty-page-in-latex.html) recommends writing \mbox{} after \thispagestyle{empty}. –  jamaicanworm Dec 18 '11 at 17:41

memoir provides ToC hooks (\cfttocbeforelisthook and \cfttocafterlisthook) that could be modified to adjust the page style headings:

\documentclass[a4paper]{memoir}% http://ctan.org/pkg/memoir
\title{My title}
\begin{document}
\begin{titlingpage}
\maketitle
\end{titlingpage}
\makeatletter
\renewcommand{\cfttocbeforelisthook}{\pagestyle{empty}\let\ps@plain\ps@empty}
\makeatother

\tableofcontents

\chapter{Memoir com Estilo de Página}

\end{document}


The above sets the page style to empty and also copies the empty page style into the plain page style, since this is used as the first page for \tableofcontents (like all chapters). At the end of the ToC, \cleardoublepage flushes all pages and resets the page style to headings.

-
Thanks Werner, and its work in others class, example, book, report? –  Regis da Silva Dec 19 '11 at 2:16
@RegisdaSilva: Are you asking or saying? –  Werner Dec 19 '11 at 2:24
asking..................... –  Regis da Silva Dec 19 '11 at 3:16