Hello,
I am using the book class, and I'm quite pleased with the standard headers using the myheadings style and markboth before each chapter. My book is coming along well, but I have one issue.
How do I remove the page number from the bottom of each Part section? I've tried the thispagestyle{empty} code, which works on other pages but not before Part. I know there's a command to turn them off in KOMA-script, but I'm on a roll with the book class and don't wish to change anything else.
Thanks for your time.
Page Layout ⇒ Remove page number from Part (book class)
-
- Posts: 2
- Joined: Sat Mar 21, 2009 7:45 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10320
- Joined: Mon Mar 10, 2008 9:44 pm
Remove page number from Part (book class)
Hi,
this would be a straightforward way:
Stefan
this would be a straightforward way:
Code: Select all
\makeatletter
\renewcommand\part{%
\if@openright
\cleardoublepage
\else
\clearpage
\fi
\thispagestyle{empty}%
\if@twocolumn
\onecolumn
\@tempswatrue
\else
\@tempswafalse
\fi
\null\vfil
\secdef\@part\@spart}
\makeatother
LaTeX.org admin
-
- Posts: 2
- Joined: Sat Mar 21, 2009 7:45 pm
Re: Remove page number from Part (book class)
Stefan,
Yes! It worked! Thank you so much.
Yes! It worked! Thank you so much.
