LaTeX forum ⇒ Document ClassesRemove header on only one page

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

Remove header on only one page

Postby idaham » Tue Dec 16, 2008 11:33 am

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

Link:
BBcode:
HTML:
Hide post links
Show post links

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

Postby corderin » Tue Dec 16, 2008 1:09 pm

I guess yo have to typ:

\thispagestyle{empty}

no header and footer will be printed.

Link:
BBcode:
HTML:
Hide post links
Show post links

idaham
Posts: 21
Joined: Wed May 21, 2008 4:30 pm

Postby idaham » Tue Dec 16, 2008 4:38 pm

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.

Link:
BBcode:
HTML:
Hide post links
Show post links

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

Postby corderin » Tue Dec 16, 2008 4:52 pm

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.

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
Stefan Kottwitz
Site Admin
Posts: 7801
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Tue Dec 16, 2008 9:05 pm

Hi idaham,

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

Stefan
Site admin

Link:
BBcode:
HTML:
Hide post links
Show post links

idaham
Posts: 21
Joined: Wed May 21, 2008 4:30 pm

Postby idaham » Thu Dec 18, 2008 11:52 am

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

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “Document Classes”

Who is online

Users browsing this forum: No registered users and 4 guests