padcount – Pad numbers with arbitrary characters
This package provides some simple macros which will pad numbers (or, indeed, any expanded token) with your choice of character (defaulting to “0”) to your choice of number of places (defaults to “2”). This works not only on arabic numerals, but on any expanded list of tokens passed to it. This makes it suitable for, among other things, counters of all kinds.
|Licenses||The LaTeX Project Public License 1.3c|
|Copyright||2018 Donald P. Goodman|
|Maintainer||Donald P. Goodman|
|Contained in||TeX Live as padcount|
MiKTeX as padcount
Download the contents of this package in one zip archive (147.0k).
Maybe you are interested in the following packages as well.
- bullcntr: Display list item counter as regular pattern of bullets
- cntformats: A different way to read counters
- nbaseprt: Print numbers in non-decimal bases
- ziffer: Conversion of punctuation in maths mode