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{}
\fancyhead[RO,LE]{\thepage}
\fancyhead[CO]{\shorttitle}
\fancyhead[CE]{\authors}
\renewcommand{\headrulewidth}{0pt}
\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{}
\fancyhead[RO,LE]{\thepage}
\fancyhead[CO]{\shorttitle}
\fancyhead[CE]{\authors}
\renewcommand{\headrulewidth}{0pt}
\begin{document}
\title{The Full Title}
\author{Author}
\maketitle
\section{Section A}
\lipsum[1-2]
\section{Section B}
\lipsum[3-10]
\end{document}
\fancypagestyle{plain}{\fancyhf{}}after\usepackage{fancyhdr}fixed the problem. Many thanks! – Américo Tavares Sep 28 '12 at 11:42