General ⇒ toc and page numbering
toc and page numbering
I am using these commands:
\pagenumbering{roman}
\tableofcontents\newpage
\addcontentsline{toc}{chapter}{Contents}
\listoffigures\newpage
\addcontentsline{toc}{chapter}{List of Figures}
\listoftables\newpage
\addcontentsline{toc}{chapter}{List of Tables}
\pagenumbering{arabic}
to add list of figures, list of tables and contents in the table of contents itself.
I'm also numbering those pages with lowercase roman letters while the rest of the report has Arabic number.
Now, the problem is that often, in the pdf output, there is no correspondence between the page number shown in the contents and the page where the entry effectively is.
Either, though the previous commands, lists of figures and tables have Arabic pagenumbers.
Does anyone know what it is due to?
thank you.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- pumpkinegan
- Posts: 91
- Joined: Thu May 03, 2007 10:29 pm
toc and page numbering
Code: Select all
\pagenumbering{roman}
\tableofcontents\addcontentsline{toc}{chapter}{Contents}
\newpage
\listoffigures\addcontentsline{toc}{chapter}{List of Figures}
\newpage
\listoftables\addcontentsline{toc}{chapter}{List of Tables}
\newpage
\pagenumbering{arabic}
Re: toc and page numbering
But thank you for the suggestion.