Welcome to the UK List of
TeX Frequently Asked Questions
on the Web

Searching

The index of Frequently Asked Questions about TeX is searchable.

Please enter your keyword here:   then press here: ,    or:
Google

Page numbering by chapter

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.)

The problem, at first sight, seems pretty much the same as that in another answer on running numbers within a chapter, and the basic technique is indeed pretty similar.

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 chappg package was written: it does the obvious things, and more.

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.

chappg.sty
macros/latex/contrib/chappg (or browse the directory); catalogue entry


Go to previous question, or next question

Go to FAQ home.

URL for this question: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pagebychap

Comments, suggestions, or error reports? - see “how to improve the FAQ”.

This is FAQ version 3.27, released on 2013-06-07.