summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-footnpp.html
blob: 3a52cc32570bd1241f6a0c040a304639baac6263 (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 footnpp</title>
</head><body>
<h3>Footnotes numbered &ldquo;per page&rdquo;</h3>
<p>The obvious solution is to make the footnote number reset whenever the
page number is stepped, using the 
<a href="FAQ-addtoreset.html">LaTeX internal mechanism</a>.  Sadly, the place
in the document where the page number is stepped is unpredictable, not
(&ldquo;tidily&rdquo;) at the end of the printed page; so the link only ever
works by luck.
<p>As a result, resetting footnotes is inevitably a two-pass process,
using labels of some sort.  It&rsquo;s nevertheless important, given the
common requirement for footnotes marked by symbols (with painfully
small symbol sets).  There are three packages that manage it, one way
or another.
<p>The <i>footnpag</i> package does per-page footnotes and nothing
else.
<p>The <i>perpage</i> package provides a general mechanism for
resetting counters per page, so can obviously be used for this task.
The interface is pretty simple: <code>\</code><code>MakePerPage{footnote}</code> will
do the job.  If you want to restart the counter at something other
than 1 (for example to avoid something in the LaTeX footnote symbol
list), you can use: <code>\</code><code>MakePerPage[2]{footnote}</code>.
<p>The <i>footmisc</i> package provides a variety of means of
controlling footnote appearance, among them a package option
<code>perpage</code> that adjusts the numbering per page.
<p>Documentation of <i>footnpag</i> comes as a DVI file
<i>footnpag-user</i> in the distribution.  Documentation of
<i>perpage</i> appears in the package file, only: however, it
amounts to no more than appears above\dots
<dl>
<dt><tt><i>footmisc.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/footmisc.zip">macros/latex/contrib/footmisc</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/footmisc.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/footmisc/">browse</a>)
<dt><tt><i>footnpag.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/footnpag.zip">macros/latex/contrib/footnpag</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/footnpag.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/footnpag/">browse</a>)
<dt><tt><i>perpage.sty</i></tt><dd>Distributed as part <a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/bigfoot.zip">macros/latex/contrib/bigfoot</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/bigfoot.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/bigfoot/">browse</a>)
</dl>
<p><p><p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=footnpp">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=footnpp</a>
</body>