summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-footnpp.html
blob: 160a51f05346a324d4c43eedf90358a25b167384 (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 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 complicated 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>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>.  It&rsquo;s a
first-rate package, small and efficient
<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; if you&rsquo;re
doing something else odd about footnotes, it means you may only need
the one package to achieve your ends.
<p/>The <i>footnpag</i> package also does per-page footnotes (and
nothing else).  With the competition from <i>perpage</i>, it&rsquo;s
probably not particularly useful any more.  (Documentation is
<i>footnpag-user.pdf</i> in the distribution.)
<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>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>