[Tex/LaTex] Suppress Fancy header and footer on first page only.

fancyhdrheader-footer

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

Best Answer

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.

Related Question