Page LayoutBegone Page Number!

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
jbend8
Posts: 4
Joined: Tue Apr 02, 2013 1:04 am

Begone Page Number!

Post by jbend8 »

I've have been typesetting my non-fiction book (coming along great! Thanks to everyone's help here) using LaTeX's memoir class. I am using the \fontmatter and \mainmatter commands to help with the page numbering etc.

However, my TOC is now two pages long (which is fine), but my problem is I have only been able set ONE of the TOC pages to not have a page number in the footer (using \thispagestyle{empty} ). How can I change the TOC pagestyle to {empty} on both pages?

Thanks!
Jason
Last edited by cgnieder on Thu Apr 18, 2013 8:23 am, edited 1 time in total.

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

Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Begone Page Number!

Post by Stefan Kottwitz »

Hi Jason,

it's very common that just the first page of a chapter has a special style, which may apply to the first page of a longer table of contents too. Perhaps compare with other books. If you wish you can achieve it by adding \pagestyle:

Code: Select all

\pagestyle{empty}% from now on
\thispagestyle{empty}% just for the next page, to override the "first chapter page" rule
\tableofcontents
\pagestyle{...}% back to normal
Stefan
LaTeX.org admin
Post Reply