summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-fancyhdr.html
blob: 886edefe28b0071b86489d787fe5042ded53e217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<head>
<title>UK TeX FAQ -- question label fancyhdr</title>
</head><body>
<h3>Alternative head- and footlines in LaTeX</h3>
<p/>The standard LaTeX document classes define a small set of &lsquo;page
styles&rsquo; which specify head- and footlines for your document (though
they can be used for other purposes, too).  The standard set is very
limited, but LaTeX is capable of much more.  The internal
LaTeX coding needed to change page styles is not particularly
challenging, but there&rsquo;s no need &mdash; there are packages that provide
useful abstractions that match the way we typically think about these
things.
<p/>The <i>fancyhdr</i> package provides
simple mechanisms for defining pretty much every head- or footline
variation you could want; the directory also contains some
documentation and one or two smaller packages.  <i>Fancyhdr</i> 
also deals with the tedious behaviour of the standard styles with
<a href="FAQ-psatempty.html">initial pages</a>, by enabling you to define
different page styles for initial and for body pages.
<p/>While <i>fancyhdr</i> will work with <i>KOMA-script</i> classes,
an alternative package, <i>scrpage2</i>, eases integration with the
classes.  <i>Scrpage2</i> may also be used as a <i>fancyhdr</i>
replacement, providing similar facilities.  The <i>KOMA-script</i>
classes themselves permit some modest redefinition of head- and
footlines, without the use of the extra package.
<p/><i>Memoir</i> also contains the functionality of <i>fancyhdr</i>,
and has several predefined styles.
<p/>Documentation of <i>fancyhdr</i> is distributed with the package,
in a separate file; documentation of <i>scrpage2</i> is integrated
with the <i>scrgui*</i> documentation files that are distributed with
the <i>KOMA-script</i> classes.
<dl>
<dt><tt><i>fancyhdr.sty</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/fancyhdr.zip">macros/latex/contrib/fancyhdr</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/fancyhdr/">browse the directory</a>)
<dt><tt><i>KOMA script bundle</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/koma-script.zip">macros/latex/contrib/koma-script</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/koma-script/">browse the directory</a>)
<dt><tt><i>memoir.cls</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/memoir.zip">macros/latex/contrib/memoir</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/memoir/">browse the directory</a>)
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=fancyhdr">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=fancyhdr</a>
</body>