I'm having a very weird problem. The following example should illustrate it quite right.

  \chapter{Chapter 1}

I've compiled it with xelatex but on the table of contents page, it is referencing the table of contents page as Contents, which is the header of that page as well. It does make sense to me to a certain extend. But I'd still like to know how to get rid of the self-reference.


5 Answers 5


\KeepFromToc helps in suppressing TOC entries for such \listof commands:

  • 9
    It's a memoir class feature.
    – Stefan Kottwitz
    Commented Feb 12, 2011 at 22:21
  • I'll accept this as the answer as it's memoire specific which was my initial problem. It should be noted though that both answers provide a working solution.
    – angerman
    Commented Feb 13, 2011 at 9:45

Thanks to Martin Scharrer, I paid a more attention to the memoir class as the source of the issue.

A closer examination of the memoir README reveals \tableofcontents* as a solution. Seems logical, everything I want to hide gets the star.

  • 3
    I was just going to post \tableofcontents* as a solution. (I found it by \show\tableofcontents, NOT be reading the 583 pages-manual.). Commented Feb 12, 2011 at 21:07
  • Well, that doesn't work for me in the memoir class :| I can see that it should work according to v1.61803398, but... Commented Sep 8, 2015 at 9:26

I suggest you, if using the tocbibind package:

  • Did you actually test this?
    – daleif
    Commented Mar 8, 2016 at 16:14
  • 1
    Worked for me, using a class based off of report. In my case, tocbibind (which I was using to include my figure and table lists in the TOC) was what caused the TOC to appear in the TOC in the first place.
    – golvok
    Commented Aug 10, 2019 at 0:57
  • 1
    Works for me on Overleaf with document class article. Commented Aug 4, 2020 at 15:32
  • Worked for me, too. I am using the scrbook class. Commented Aug 19, 2021 at 9:13
  • This worked for me using book class. Issue was I had used \usepackage{tocbibind} to get the bibliography to appear in the table of contents, without realizing until much later that it made "contents" appear there too, until adding [nottoc].
    – WillG
    Commented Sep 11, 2023 at 22:20

I had a similar problem, but with the article class. Neither of the solutions above work for this class, so after much searching I used the advice of Martin above and searched the article class and found that I can simply not use \tableofcontents, and instead use:


This doesn't create a section for the table of contents, so the problem goes away.

Thought I would post this here in case anyone else has a similar problem.

  • 2
    This is useful for cases where you don't want the "Contents" header above the TOC. Commented Sep 9, 2012 at 17:24

The following works for supressing the self-referencing TOC entry, and is not specific to memoir (I'm using scrbook):


You can of course replace the 3 with whatever tocdepth you prefer to have.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .