[texhax] Setting a footer

Eloi Machado eloimachado at gmail.com
Tue Aug 28 13:22:21 CEST 2007


Hello!

I want to set the same footer in all main pages of a book. I use the
following code.

\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markright{\chaptername\ \thechapter.\ #1}}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}{}}
\lhead[\fancyplain{}{}]%
      {\fancyplain{}{\bfseries\rightmark}}
\chead[\fancyplain{}{}]%
      {\fancyplain{}{}}
\rhead[\fancyplain{}{}]%
      {\fancyplain{}{\bfseries\thepage}}
\lfoot[\fancyplain{}{}]%
      {\fancyplain{}{}}
\cfoot[\fancyplain{}{}]%
      {\fancyplain{}{}}
\rfoot[\fancyplain{}{}]%
      {\fancyplain{}{ \includegraphics{footer.eps}}}


The problem is, for instance, the image footer.eps only appears in 2 pages
of a 19 page document. Why? How can I do it to appear in all pages?

Tks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20070828/acdd9214/attachment.html 


More information about the texhax mailing list