blob: 6ab9fcfe8819b0a9dc8fbfc61e3874c77f9d40eb (
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
|
<head>
<title>UK TeX FAQ -- question label pagebychap</title>
</head><body>
<h3>Page numbering by chapter</h3>
<p/>When I was a young man, a common arrangement for loose bound technical
manuals is to number pages by chapter. (It’s quite a good scheme, in
those situations: even if your corrections add a whole page to the
chapter, the most you have to redistribute is that chapter.)
<p/>The problem, at first sight, seems pretty much the same as that in
another answer on
<a href="FAQ-running-nos.html">running numbers within a chapter</a>,
and the basic technique is indeed pretty similar.
<p/>However, tidying-up loose ends, making sure the page number gets reset
to the correct value at the start of each chapter, and so on, is
slightly more challenging. This is why the <i>chappg</i> package
was written: it does the obvious things, and more.
<p/>Users have been known to ask for running page numbers within a
section, but this really doesn’t make sense: you need to run page
numbers within document objects that always start on a fresh page.
<p/>Documentation of <i>chappg</i> is to be found in the package file.
<dl>
<dt><tt><i>chappg.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/chappg.zip">macros/latex/contrib/chappg</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/chappg.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/chappg/">browse</a>)
</dl>
<p/><p/><p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pagebychap">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pagebychap</a>
</body>
|