I want the "Table of contents" position to appear in the table of contents. I'm using \addcontentsline
to add this position, but the page numeration seems a bit odd.
I have a table of contents beggining at the page 3 (and it takes 2 pages). But using this combination of commands:
\newpage
\addcontentsline{toc}{chapter}{Table of contents}
\tableofcontents
\chapter{First chapter}
I get following output:
Table of contents..... 2 (should be 3!)
First chapter......... 5
When I use something like this
\newpage
\tableofcontents
\addcontentsline{toc}{chapter}{Table of contents}
\chapter{First chapter}
I also get the numeration wrong:
Table of contents..... 4 (should be 3!)
First chapter......... 5
How can I add the "table of contents" position to TOC correctly?
\usepackage{tocbibind}
; but I can't understand why one would put a TOC entry for the table of contents itself. Or use\cleardoublepage
instead of\newpage
.tocbibind
works great, thanks!