Page LayoutTable of Content w/ Table of Figure Formatting

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
VegardS
Posts: 2
Joined: Thu Apr 23, 2015 2:28 pm

Table of Content w/ Table of Figure Formatting

Post by VegardS »

Hi there,

I am currently writing my thesis and has encountered a problem with latex and it's table of content (toc). I have a list of figures (lof) before the introduction. I want this list of figures to be visible in toc. However, I do not want the page numbering to occur on the lof in toc. Is this possible?

Visible explanation is available through the image attached to this post.
Attachments
latex_toc.png
latex_toc.png (18.04 KiB) Viewed 2927 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Table of Content w/ Table of Figure Formatting

Post by Johannes_B »

Hi and welcome,

you can use \pagenumbering{gobble} to turn off the numbering of pages.

Code: Select all

\documentclass{article}
\usepackage{blindtext}
\begin{document}
\pagenumbering{gobble}
\tableofcontents
\blinddocument
\blinddocument
\cleardoublepage
\pagenumbering{arabic}
\blinddocument
\blinddocument
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
VegardS
Posts: 2
Joined: Thu Apr 23, 2015 2:28 pm

Re: Table of Content w/ Table of Figure Formatting

Post by VegardS »

Excellent. It worked flawlessly.
Thank you!
Post Reply