Document Classesheader/footer doesn't appear on TOC page

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
User avatar
tripwire45
Posts: 129
Joined: Thu Apr 10, 2008 4:35 am

header/footer doesn't appear on TOC page

Post by tripwire45 »

I've been humming along on my LaTeX docs lately and feeling pretty good about what I've learned (though, I've only scratched the surface), but I've hit a minor mystery. I've got a header and footer that appears on every page (except the title page, of course) but not on the table of contents page. Here's the code for the header and footer:

Code: Select all

\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[RO,LE]{\tiny\bfseries Product Name}
\fancyfoot{}
\fancyfoot[LE,RO]{\tiny\thepage}
\fancyfoot[LO,RE]{\tiny User Guide}
\fancyfoot[C]{\tiny\copyright 2008 Product Inc.}
The only thing in the footer is the page number in roman numerals. Is there a way to get the header and footer to appear on this page as well?

Thanks.

-Trip

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: 10335
Joined: Mon Mar 10, 2008 9:44 pm

header/footer doesn't appear on TOC page

Post by Stefan Kottwitz »

Hi Trip,

this is described in the fancyhdr documentation in 7 Redefining plain style:

Code: Select all

\fancypagestyle{plain}{}
Stefan
LaTeX.org admin
User avatar
tripwire45
Posts: 129
Joined: Thu Apr 10, 2008 4:35 am

Re: header/footer doesn't appear on TOC page

Post by tripwire45 »

Thanks. Took some minor tweaking to get it to go, but it worked. :D
Post Reply