[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: more than one .sty file in a tex document!?



On Fri, Nov 24, 2000 at 03:53:15PM +0100, Manuel Hendel wrote:
> Now I've tried the "fancyhdr". I use the documentclass "g-brief", the
> "rechnung" and the "fancyhdr" package. I did a "latex file.tex", I
> didn't get any errors, but if I do a "xdvi file.dvi" I don't see
> anything of the thigs I've done with \cfoot{}. I can't see any
> problems. Can anyone give me a hint?
> 
> Thanks, Manuel

Well, I can't do any better to explain it than the fancyhdr docs.  You
have to watch out for the first page style (by default it will be
different -- maybe only a page number).  This is explained in the docs.

One document I did look something like this:

\documentclass[]{report}
...
\usepackage{fancyhdr}
...
\fancyhead{}
\lhead{\leftmark}
\chead{}
\rhead{\rightmark}
\lfoot{My Documentation}
\cfoot{}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{2pt}
\renewcommand{\footrulewidth}{1pt}
...
\pagestyle{fancy}
...
\begin{document}
...
\end{document}


Note, the "first page" of a chapter will only have a centered page
number in the footer under this set-up.

Hope that helps.

-- 
Eric G. Miller <egm2@jps.net>



Reply to: