# [texhax] Question about fancyplain from the fancyhdr package.

Rolf Turner r.turner at auckland.ac.nz
Sun May 16 22:42:37 CEST 2010

I am required to produce a document which has:

* top centred page numbers on ***all but the first page***
* a top right text string on ***all*** pages.

I cannot for the life of me get fancyhdr to produce this.

According to the documentation I read, something like

should give the page number when \thispagestyle is ***not*** empty
and a blank when it is empty.  This doesn't seem to happen.

Have I misinterpreted the documentation?  Is there any way to
produce the desired structure?

I present a minimal example of what I've tried below.
If \thispagestyle{empty}'' is commented out, then
I get both the page number and the text string in the
upper right hand corner on the first page.  If it is
not commented out then I get completely blank headers;
neither the page number nor the text string in the upper
right.

Is there any way to get the text string and ***not*** the
page number on the first page (but both for succeeding pages)?

Thanks.

cheers,

Rolf Turner

Example:
========

\documentclass[11pt]{article}
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\fancyhf{}
\cfoot{\fancyplain{}{}}
\begin{document}
%\thispagestyle{empty}
A load of dingos' kidneys \ldots \ldots ~ .

\pagebreak
More dingos' kidneys \ldots \ldots ~ .

\pagebreak
And yet more \ldots \ldots ~ .
\end{document}

######################################################################
Attention:
This e-mail message is privileged and confidential. If you are not the
intended recipient please delete the message and notify the sender.
Any views or opinions presented are solely those of the author.

This e-mail has been scanned and cleared by MailMarshal
www.marshalsoftware.com
######################################################################