Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory tex-archive/macros/latex/contrib/pagerange

This is the README file for 'pagerange' package, version 0.5.

When a given page range xx-yy (simple/plain characters) or
\pages (command token, eg, \def\pages{xx-yy}) is submitted to the macro
\pagerange (eg, \pagerange{xx-yy} or \pagerange\pages), this package
splits the range as xx in the macro \pagestart and yy in \pageend.
The counter equivalents of these are \prg@cnta and \prg@cntb.
The command token containing the page range (eg, \pages) is fully
expanded before the page range is split.

If you specify a range consisting of a hyphen (or any tie) but with
one or two empty page numbers, the following will happen:

 1. a range of the form -34 is taken to mean pages 1 to 34;
 2. a range of the form 12- is taken to mean page 12 to last page;
 3. a range of the form - (only hyphen) is taken to mean page 1 to
    last page.

This work may be distributed and/or modified under the conditions
of the LaTeX Project Public License, either version 1.3 of this
license or any later version. The latest version of this license
is in and version 1.3 or later
is part of all distributions of LaTeX version 2005/12/01 or later.

The LPPL maintenance status of this software is 'author-maintained'.

This software is provided 'as it is', without warranty of any kind,
either expressed or implied, including, but not limited to, the
implied warranties of merchantability and fitness for a particular

Copyright (c) 2010 Ahmed Musa (

End of README file.


Name Size Date Notes
README 1524 2010-02-04 02:18
pagerange-guide.cfg 2474 2010-02-03 09:58
pagerange-guide.pdf 93677 2010-02-04 02:14
pagerange-guide.tex 9513 2010-02-03 09:46
pagerange.sty 8075 2010-02-04 02:26

Down­load the con­tents of this pack­age in one zip archive (85.5k).

pagerange – Flex­i­ble and con­fig­urable page range type­set­ting

The pack­age de­fines a com­mand \pagerange that type­sets ranges of page num­bers, ex­pand­ing them (e.g., adding first or last page num­bers) and stan­dar­d­is­ing them.

Pack­age De­tailspagerange
Li­censeThe LaTeX Project Public Li­cense
Copy­right2009 Ahmed Musa
Main­tainerAhmed Musa
Con­tained inTeXlive as pagerange
MikTeX as pagerange
Topics la­bel and ref­er­ence sys­tems
sup­port for de­vel­op­ment of (La)TeX macros
Guest Book Sitemap Contact