I am using document class amsbook.
I create the table of contents via:
\chapter*{Abstract}
Blah blah
\SkipTocEntry\chapter*{Table of Contents}
\tableofcontents
The \SkipTocEntry
command causes the following chapter heading to be omitted from the table of contents.
The table of contents is printed but it is followed by a line:
Contents
I have a similar problem with the list of figures.
How do I get rid of the "Contents" line in the table of contents"
Here's what I've tried, this time showing the preceeding chapter, which is the abstract
Try #1:
\chapter*{Abstract}
Blah blah
\tableofcontents
On try #1, I don't get a header for the table of contents and a line with "Contents" still appears after the table of contents.
Try #2:
\chapter*{Abstract}
\renewcommand{\contentsname}{Table of Contents}
\tableofcontents
I still get a line with "Contents" after the table of contents.
In both try #1 and try #2, the chapter heading "Abstract" appears at the top of the page.
Any ideas? I want a chapter heading "Table of Contents" and I want to git rid of the "Contents" line after the table of contents. My code is the original code block at the top of this post.
\tableofcontents
already makes a chapter head so you are making two chapters, Just remove\chapter*(Table of Contents}
\chaper*
before the\tableofcontents
As I said in the first comment simply remove that command.