summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-fancyhdr.html
blob: cf19c99044cb2ac6421361eb63ceeace8d52e95a (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
<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 'page
styles' which (in effect) specify head- and footlines for your
document.  The set defined is very restricted, but LaTeX is capable
of much more; people occasionally set about employing LaTeX
facilities to do the job, but that's quite unnecessary - Piet van
Oostrum has already done the work.
<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="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/fancyhdr.zip">macros/latex/contrib/fancyhdr</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/fancyhdr.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/fancyhdr/">browse</a>)
<dt><tt><i>KOMA script bundle</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/koma-script.zip">macros/latex/contrib/koma-script</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/koma-script.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/koma-script/">browse</a>)
<dt><tt><i>memoir.cls</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/memoir.zip">macros/latex/contrib/memoir</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/memoir.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/memoir/">browse</a>)
<dt><tt><i>scrpage2.sty</i></tt><dd>Distributed as part of <a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/koma-script.zip">macros/latex/contrib/koma-script</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/koma-script.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/koma-script/">browse</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>