Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
How to remove the self-reference of the ToC from the ToC?

I am using memoir with the article setting. For some reason my table of contents has a double "Contents" heading:

Screen shoot showing the double headings

Why are there two, and how can I get just one?

Here is the code:

\documentclass[12pt, article]{memoir}
\usepackage{microtype}

\counterwithout{section}{chapter}
\setsecnumdepth{subsection}
\settocdepth{subsection}
\renewcommand*{\chaptitlefont}{\LARGE\centering}

\begin{document}
    \chapter*{My article}

    \begin{abstract}
        Lorem Ipsum\ldots
    \end{abstract}

    \pagestyle{plain}
    \tableofcontents
    \section{Introduction}
    \subsection{Subsection 1}
\end{document}
share|improve this question

marked as duplicate by diabonas, Andrey Vihrov, Thorsten, lockstep, Torbjørn T. Mar 9 '12 at 8:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer

up vote 8 down vote accepted

Read chapter 9 of the memoir manual. The commands \tableofcontents, \listoffigures and \listoftables have both non-starred and starred variants. Non-starred variants add their own titles to the ToC, the starred variants behave as in the standard document classes.

share|improve this answer
    
Ah, so that's what's going on. It is actually a part of the ToC! I first thought I was blind considering I had tried to read that chapter but I was trying to figure out why it had double header, not how to make it not add itself to the ToC, so that explains that! :) –  jonalv Mar 8 '12 at 9:09
add comment

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