Hey
I wanted to remove the numbers for ToC and played a bit around with the fancyhdr package. Redifining the plain style
Now I only have numbers one pages were my chapters start. I would like to have numbers on every page, at the center in the bottom. And I would like not to have a page number for ToC page??
If that is not possible, I would just like to get the default plain style back.
Page Layout ⇒ Only numbers at chapters -> every page
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Only numbers at chapters -> every page
I'm not really sure if I understood right but the following works.
If that doesn't match your ideas, show your recent efforts by means of a minimal working example (MWE) that shows your changes you have done with fancyhdr.
Best regards and welcome to the board
Thorsten
Code: Select all
Code, edit and compile here:
\documentclass[11pt,a4paper,english]{report}\usepackage[T1]{fontenc}\usepackage[latin1]{inputenc}\usepackage{babel}\usepackage[includeheadfoot,margin=2cm]{geometry}\usepackage{lmodern}\usepackage{blindtext}\begin{document}\pagestyle{empty}\tableofcontents\newpage\pagestyle{plain}\addtocontents{toc}{\protect\thispagestyle{empty}}\blinddocument\blinddocument\blinddocument\blinddocument\blinddocument\blinddocument\end{document}
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 2
- Joined: Wed May 27, 2009 3:31 pm
Re: Only numbers at chapters -> every page
Hey
Thanks for the quick reply
I found that in one of my pages in the project, I had a \pagestyle{empty} instead of a \thispagestyle{empty}
. And that made all the difference of course.
Thanks for the quick reply
I found that in one of my pages in the project, I had a \pagestyle{empty} instead of a \thispagestyle{empty}
