TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to suppress the fancy header and footer on the first page? On other pages, they should be visible.

share|improve this question
up vote 29 down vote accepted

Put \thispagestyle{empty} at the beginning of your document. This will only affect the first page:

\documentclass{article}

\usepackage{fancyhdr}

\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{Top Left}
\fancyhead[C]{Top Center}
\fancyhead[R]{Top Right}
\renewcommand{\headrulewidth}{0.4pt}
\fancyfoot[L]{Bottom Left}
\fancyfoot[C]{\thepage}
\fancyfoot[R]{Bottom Right}
\renewcommand{\footrulewidth}{0.4pt}

\begin{document}\thispagestyle{empty}

Lorem ipsum.

\newpage

Lorem ipsum to you, too, brother.

\end{document}

Picture of two pages

Note that if you use \maketitle, you'll have to put the \thispagestyle{empty} after the \maketitle because \maketitle triggers a \thispagestyle{plain}, which is the standard page style with only the page number at the bottom.

If you want any other page style on your first page, you can put in anything else instead of empty, of course.

share|improve this answer
4  
I found this trying to do the opposite, including the fancy header on the first page. I had no idea that \maketitle triggered a \thispagestyle{plain}! Good to know! – Tim Parenti Dec 17 '12 at 6:24
    
\thispagestyle{empty} will also supress footnotes. How to disable fancy header, but keep footnotes? – nagylzs Oct 12 '15 at 12:41
    
@nagylzs If I add a footnote to the document from this answer, footnotes aren’t suppressed. I’d suggest you ask a new question with a MWE to reproduce your problem. – doncherry Oct 12 '15 at 19:25

Move the preamble for header and footer into the document after the \newpage where you would like it to start.

\documentclass{article}

\usepackage{fancyhdr}

\begin{document}
%\thispagestyle{empty}

Lorem ipsum.

\newpage

\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{Top Left}
\fancyhead[C]{Top Center}
\fancyhead[R]{Top Right}
\renewcommand{\headrulewidth}{0.4pt}
\fancyfoot[L]{Bottom Left}
\fancyfoot[C]{\thepage}
\fancyfoot[R]{Bottom Right}
\renewcommand{\footrulewidth}{0.4pt}

Lorem ipsum to you, too, brother.

\end{document}
share|improve this answer
    
This would only be helpful if the first page doesn't spill over to the next naturally. That is, if you can control the break to page two manually. – Werner Jan 4 at 19:38
    
@Werner Your explanation 'over my head,' for I am a beginner. My problem, was to have the footer information start on page 4 in an article document class. Maybe I should have created a new question? Any advise for me would be gladly accepted. – adm Jan 6 at 18:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
http://tex.stackexchange.com/questions/23766/suppress-fancy-header-and-footer-on-first-page-only?answertab=votes
tex.stackexchange.com
crawl=CC-MAIN-2016-18
80662
application/http; msgtype=response
sha1:BI6WMQVUICUNWW2FLKJSBRVOYZX4LXSA
<urn:uuid:307c29b8-6c34-4dc2-9562-c58b0889c2f1>
2016-04-29T16:20:11Z
104.16.118.182
sha1:CZSURHPQXS3VI3NPH2ZYSFPVYXNSVJTX
<urn:uuid:1bfe56c8-b9c8-4767-82f8-879d2eb1eb58>
http://tex.stackexchange.com/questions/23766/suppress-fancy-header-and-footer-on-first-page-only?answertab=votes
response
<urn:uuid:4b6abc63-e38d-4d55-ade2-c8b95dd01111>
robots: classic
hostname: ip-10-239-7-51.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2016-18
operator: CommonCrawl Admin
description: Wide crawl of the web for April 2016
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf