Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/fancyhdr

This is fancyhdr, a replacement for fancyheadings. 

I still still intend to make sometime in the future a real .dtx of it,
including the minimal documentation. The current documentation is in
fancyhdr.tex, but this contains much more material than the fancyhdr doc.
When the fancyhdr.dtx is ready, I will rename fancyhdr.tex into something
like pagelayout.tex to get it more in line with the title (Page Layout in

fancyhdr is 99% compatible with fancyheadings. The only incompatibility is
that \headrulewidth and \footrulewidth and their \plain... versions are no
longer length parameters, but normal macros (to be changed with
\renewcommand rather than \setlength).

Although all the other old fancyheadings commands continue to work you are
advised to use the new syntax as described in fancyhdr.tex, because this is
much easier to use in complicated cases. The old way of doing is no longer
described in the manual, except for the simplest use of \lhead etc.

In order to latex the documentation you need to install a copy of

The fixmarks.sty is now obsolete, as it is superseded by David Carlisle's
fix2col.sty (tex-archive/macros/latex/contrib/supported/carlisle/) so it is
no longer included here.

fancyhdr.sty version 3 and extramarks.sty version 2 are the packages
as described in the second edition of The LaTeX Companion.

LICENCE: All files in this package may be distributed under the terms of
the LaTeX Project Public License, as described in lppl.txt in the base
LaTeX distribution. Either version 1 or, at your option, any later
Piet van Oostrum.

Down­load the con­tents of this pack­age in one zip archive (254.5k).

fan­cy­hdr – Ex­ten­sive con­trol of page head­ers and foot­ers in LaTeX2ε

The pack­age pro­vides ex­ten­sive fa­cil­i­ties, both for con­struct­ing head­ers and foot­ers, and for con­trol­ling their use (for ex­am­ple, at times when LaTeX would au­to­mat­i­cally change the head­ing style in use).

Li­censeThe LaTeX Project Public Li­cense
Main­tainerPiet van Oostrum
Con­tained inTeX Live as fan­cy­hdr
MiKTeX as fan­cy­hdr
Topics page head- and foot-lines
See also titleps
Guest Book Sitemap Contact Contact Author