Page LayoutOmit Page Number on Part Page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Stevenet
Posts: 13
Joined: Sun Oct 30, 2011 6:34 pm

Omit Page Number on Part Page

Post by Stevenet »

Hi,

I'm typesetting a book with 3 parts. At the part dedicated page, i need to omit the page number, only at this part title page. The

Code: Select all

\thispagestyle{empty}
seems to not clean the page number at footer.

Thank you for your time,

Steve,
Last edited by Stevenet on Mon Nov 07, 2011 9:35 pm, edited 1 time in total.

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
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Omit Page Number on Part Page

Post by localghost »

Put this in the preamble of your document.

Code: Select all

\makeatletter
\renewcommand\part{%
  \if@openright
    \cleardoublepage
  \else
    \clearpage
  \fi
  \thispagestyle{empty}%   % default page style »plain«
  \if@twocolumn
    \onecolumn
    \@tempswatrue
  \else
    \@tempswafalse
  \fi
  \null\vfil
  \secdef\@part\@spart}
\makeatother

Thorsten
Stevenet
Posts: 13
Joined: Sun Oct 30, 2011 6:34 pm

Re: Omit Page Number on Part Page

Post by Stevenet »

Thank you! This is exactly what i need!

Best regards!

Steve,
Post Reply