Document ClassesRemove header on only one page

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
idaham
Posts: 21
Joined: Wed May 21, 2008 4:30 pm

Remove header on only one page

Post by idaham »

Hello!
I'm writing my CV in Latex, and I've encountered a layout problem. I use \pagestyle{fancy} where I've created a nice header. I've made the footer write out the page numer of total number of pages, e.g. "1(4)" on the first page, "2(4)" on the second and so on. Now I want to remove the header on the first page, but keep my fancy footer. When I change the style to plain it simply writes the page number e.g. "1" etc. Can anyone help me?
Cheers,
Ida

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

corderin
Posts: 77
Joined: Sun Dec 14, 2008 2:27 pm

Re: Remove header on only one page

Post by corderin »

I guess yo have to typ:

\thispagestyle{empty}

no header and footer will be printed.
idaham
Posts: 21
Joined: Wed May 21, 2008 4:30 pm

Remove header on only one page

Post by idaham »

Hello!
Yes, I've tried that, but the thing is that I want to keep my fancy footer and only remove the header. Thanks anyway though!
/Ida
corderin wrote:I guess yo have to typ:

\thispagestyle{empty}

no header and footer will be printed.
corderin
Posts: 77
Joined: Sun Dec 14, 2008 2:27 pm

Re: Remove header on only one page

Post by corderin »

Then typ:

\thispagestyle{plain}

your footer will remain. :) at least the page number, I guess.

Try the package fancyhdr, look at http://www.ctan.org/, I hope you find a solution.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
Joined: Mon Mar 10, 2008 9:44 pm

Remove header on only one page

Post by Stefan Kottwitz »

Hi idaham,

you could use \fancypagestyle{plain}{...} to redefine the plain style, that's described in the fancyhdr documentation.

Stefan
LaTeX.org admin
idaham
Posts: 21
Joined: Wed May 21, 2008 4:30 pm

Remove header on only one page

Post by idaham »

Hello Stefan, and thanks for the quick reply!
I will try your suggestion, it seems to be just what I need! =)
Thanks,
/Ida
Stefan_K wrote:Hi idaham,

you could use \fancypagestyle{plain}{...} to redefine the plain style, that's described in the fancyhdr documentation.

Stefan
Post Reply