I know that the title sounds like a vicious circle, but here is a problem I have while writing my dissertation: I want the numbering of the TOC to look like this:
Acknowledgements iii
Abstract v
Contents vii
1 Introduction 1
2 Survey 6
etc.
I have successfully changed the numbering of pages from roman to arabic after the table of contents part BUT I cannot find a way to include acknowledgements, abstract, and contents in the Table of Contents.
Any ideas how this can be done?
Page Layout ⇒ Modify table of Contents content
NEW: TikZ book now 40% off at Amazon.com for a short time.
Modify table of Contents content
Have you tried this?
Where the acknowledgements section occurs in your document, add:
\addcontentsline{toc}{chapter}{Acknowledgements}
And so on.
I don't know what document class you're using, but the following works perfectly well for the Book class:
Where the acknowledgements section occurs in your document, add:
\addcontentsline{toc}{chapter}{Acknowledgements}
And so on.
I don't know what document class you're using, but the following works perfectly well for the Book class:
Code: Select all
\documentclass{book}
\begin{document}
%
\frontmatter
Whatever is on page i.
%
\cleardoublepage
\addcontentsline{toc}{chapter}{Acknowledgements}
\chapter*{Acknowledgements}
These are acknowledgements.
%
\cleardoublepage
\addcontentsline{toc}{chapter}{Abstract}
\chapter*{Abstract}
This is the abstract.
%
\cleardoublepage
\addcontentsline{toc}{chapter}{Contents}
\tableofcontents
%
\mainmatter
\chapter{Introduction}
This is chapter one.
\chapter{Survey}
This is chapter two.
\end{document}
Last edited by frabjous on Sat Aug 08, 2009 12:40 am, edited 1 time in total.
Re: Modify table of Contents content
Thank you. It works perfectly for aknowledgements and abstract. However, for table of contents, if I put the Tex line you gave just before the Table of contents, it numbers the previous page as the first page of TOC (similarly, it numbers one page after the end of TOC, if I put it at the end - I do not know if this makes sense as I describe it here...)
Re: Modify table of Contents content
I added some code after I posted. Perhaps it would help. The key is to use \cleardoublepage (or just \clearpage, if you're using openany) before adding the line.
Re: Modify table of Contents content
Thank you very much!