# Fancyheaders: how to turn off the page number on the first page? [duplicate]

Possible Duplicate:
Custom first page with fancyhdr

I don't know how to turn off the page number on the first page of the following article with different headers on odd and even pages. I tried \thispagestyle{empty} after \begin{document} but it doesn't work. The rest is OK.

 \documentclass[a4paper,12pt,twoside]{article}
\usepackage{lipsum}
\newcommand\shorttitle{The Short Title}
\newcommand\authors{Author}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\begin{document}
\thispagestyle{empty}
\title{The Full Title}
\author{Author}
\maketitle
\section{Section A}
\lipsum[1-2]
\section{Section B}
\lipsum[3-10]
\end{document}


ADDED. I don't want any header or footer on the first page.

ADDED 2: As commented by Herbert writing \fancypagestyle{plain}{\fancyhf{}}after \usepackage{fancyhdr} makes what I want.

EDIT: \thispagestyle{empty} is not needed. The revised code becomes

 \documentclass[a4paper,12pt,twoside]{article}
\usepackage{lipsum}
\newcommand\shorttitle{The Short Title}
\newcommand\authors{Author}
\usepackage{fancyhdr}
\fancypagestyle{plain}{\fancyhf{}}
\pagestyle{fancy}
\fancyhf{}
\begin{document}
\title{The Full Title}
\author{Author}
\maketitle
\section{Section A}
\lipsum[1-2]
\section{Section B}
\lipsum[3-10]
\end{document}

-

## marked as duplicate by egreg, Marco Daniel, percusse, barbara beeton, zerothSep 28 '12 at 13:04

didn't you read my last comment? –  Herbert Sep 28 '12 at 11:38
@Herbert I did read. The \fancypagestyle{plain}{\fancyhf{}}after \usepackage{fancyhdr}fixed the problem. Many thanks! –  Américo Tavares Sep 28 '12 at 11:42
@egerg This question may be an "exact duplicate of Custom first page with fancyhdr" for those who have a good knowledge of these matters, which I do not have. The existing answer was very useful to me. –  Américo Tavares Sep 28 '12 at 13:17

\maketitle uses pagestyle plain. Writing \fancypagestyle{plain}{}  after loading the package should help

-
I've written \fancypagestyle{plain}{}after \usepackage{fancyhdr}. This removed the page number on the footer of the first page, but it has the undesired effect of making a header on the first page too, which I don't want. –  Américo Tavares Sep 28 '12 at 11:15
then use \fancypagestyle{plain}{\fancyhf{}} –  Herbert Sep 28 '12 at 11:17
Add also \renewcommand{\headrulewidth}{0pt} if the rule is not wanted in the first page. –  egreg Sep 28 '12 at 11:38