General ⇒ Include list of figures and tables in table of contents
Include list of figures and tables in table of contents
What do I have to do if I want to include both list of figures and tables in the table of contents?
And if I want the table of contents as well?
Finally, how can I change the type of page number for the table of contents and lists (i.e.: i, ii, iii, etc in place of 1, 2, 3, etc)?
Thank you.
Cheers.
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Include list of figures and tables in table of contents
Code: Select all
\documentclass{report}
…
\begin{document}
…
\pagenumbering{roman} % small roman letters as page numbers
\tableofcontents\newpage
\pagenumbering{arabic} % back to normal page numbers
…
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures\newpage
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables\newpage
…
\end{document}
For easier handling of such things, take a look at the KOMA-Script Bundle. It provides extended documentclasses with many features.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- pumpkinegan
- Posts: 91
- Joined: Thu May 03, 2007 10:29 pm
Include list of figures and tables in table of contents
Code: Select all
\tableofcontents
\listoffiggures
\listoftables
\pagenumbering{roman}
\pagenumbering{arabic}
Re: table of contents
I'll try to play/work a bit with those commands.
Cheers.
Include list of figures and tables in table of contents
This is what I'm writing now, without the
\newpage
command:Code: Select all
\tableofcontents
\listoffigures
\listoftables
\addcontentsline{toc}{chapter}{Contents}
\addcontentsline{toc}{chapter}{List of Figures}
\addcontentsline{toc}{chapter}{List of Tables}
Include list of figures and tables in table of contents
\newpage
command is unavoidable! 