[Tex/LaTex] Text in footer on first page, but no page numbers

header-footerpage-numbering

For a documentclass{article} document, I would like to print a word on the right edge of my footer on the first page, otherwise I would like all headers and footers to be empty (no page numbers). I assume I can use fancyhdr to accomplish this, but the documentation is a little beyond me (it contains a few examples, but it doesn't explain what all the different options are or what they do).

Best Answer

You can use \thispagestyle{fancy} for the first page, and \pagestyle{empty} for the rest:

enter image description here

\documentclass{article}
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\usepackage{fancyhdr}% http://ctan.org/pkg/fancyhdr
\fancyhf{}% Clear all headers/footers
\renewcommand{\headrulewidth}{0pt}% No header rule
\renewcommand{\footrulewidth}{0pt}% No footer rule
\fancyfoot[R]{Word}%
\pagestyle{empty}
\begin{document}
\thispagestyle{fancy}%
\lipsum[1-20]
\end{document}
‚Äč
Related Question