# How to remove double “Contents” heading?

How to remove double “Contents” heading generated by book class?

I've tried using the following advice which was given for the memoir class but none of these solve my problem.

How to remove the self-reference of the ToC from the ToC?

How to remove double "Contents" heading generated by memoir?

The structure of my document is as follows:

\documentclass[12pt, twoside, a4paper]{book}

\usepackage{tocbibind}
\setcounter{secnumdepth}{0}

\begin{document}

\frontmatter
\setcounter{tocdepth}{1}
\tableofcontents

\mainmatter
\chapter[Chapter 1]{Chapter 1}

\appendix
\chapter[Appendix 1]{Appendix 1}

\backmatter
\cleardoublepage
\phantomsection
\clearpage

\begin{thebibliography}{}
\end{thebibliography}

\chapter[Summary]{Summary}

\end{document}


I could solve the self reference 'contents' in the TOC by:

Removing the "%" in front of

\addcontentsline{toc}{chapter}{\numberline{}Bibliography}


and removing

\usepackage{tocbibind}
\phantomsection


However, this creates a new problem. In that case the bibliography is no longer lined out with the backmatter (in ToC). In stead it is spaced with the titles of the Appendices (without the appendix number).

What I want is for the bibliography to appear inline with the backmatter sections (Summary) in the ToC without a self reference of the 'contents' heading.

-
Please edit your question and add a short example code that reproduces the problem. – Ian Thompson Jun 28 '12 at 11:45
I'm afraid I still can't reproduce the problem. It's best to provide a self-contained example (i.e. no \include or \bibliography commands, etc.). – Ian Thompson Jun 28 '12 at 12:24
Please have a look at some points about minimal working examples (MWE) and reduce your code. Right now, it contains many many lines that don't have anything to do with your problem. Please also include how the solutions to the other questions didn't solve your problem. – doncherry Jun 28 '12 at 12:36

I have found a solution thanks to the information in:

In which the following answer helped me

http://tex.stackexchange.com/a/8459/16059

The trick was to replace

\usepackage{tocbibind}


With

\usepackage[nottoc,numbib]{tocbibind}


According to the post this should work for all standard classes (article, book, report).

-
I'm using the \documentclass{report} , and this method doesn't seem to work, because adding nottoc , while it removes the redundant "content" line, it also makes the "Contents" heading too large – Luigi Jun 9 at 15:50