Text FormattingTwo pages TOC without page number on second TOC page

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
QFA_DTU
Posts: 1
Joined: Fri Feb 11, 2022 5:29 pm

Two pages TOC without page number on second TOC page

Post by QFA_DTU »

Dear Latex Community,

I am currently writing my thesis, and have a large-enough TOC so that it takes two pages.

The first page has the style it requires as defined with \fancypagestyle and \addtocontents{toc}{\protect\thispagestyle{TOC}}, but the second page seems to have an empty style as it doesn't have any page numbering.

What could be the reason for this?

Thank you for your help.

Best regards,
QFA

Recommended reading 2024:

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

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

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Two pages TOC without page number on second TOC page

Post by Ijon Tichy »

Without Infominimal working example I would speculate, that you've forgotten to use \pagestyle{fancy} or similar for the defined page style after defining it.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply