Take the 2-minute tour ×
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.

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).

share|improve this question
1  
The Wikibook LaTeX section Page Layout: Customising with fancyhdr (which is among the first Google hits for "fancyhdr") might help you with using fancyhdr. –  doncherry Jul 25 '12 at 16:06
add comment

2 Answers 2

up vote 3 down vote accepted

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}
​
share|improve this answer
add comment

With fancyhdr you can declare a page style to contain the special footer and declare this pagestyle for the first page; for the other pages you can use the empty page style. A little example:

\documentclass{article}
\usepackage{fancyhdr}
\usepackage{lipsum}% just to generate text for the example

\fancypagestyle{specialfooter}{%
  \fancyhf{}
  \renewcommand\headrulewidth{0pt}
  \fancyfoot[R]{Some special text}
}

\pagestyle{empty}

\begin{document}
\thispagestyle{specialfooter}
\lipsum[1-30]
\end{document}

enter image description here

share|improve this answer
add comment

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.