How would one change TeX's pagination numbering system from decimal to one that would number pages in binary, hexadecimal, octal, or any other number system (e.g., the tonal system, with specialized characters for the numerals)?


You only need some command that converts the representation. E.g. with expl3:


blub\newpage blub \newpage blub
| improve this answer | |
  • Nice, it works for binary and hex "out-of-the-box," but how could I implement it using special Unicode characters for specialized numerals? – Geremia Dec 17 '16 at 23:16
  • 1
    @Geremia that is easy just see how footnote counter shows dagger, doubledaager etc, basically just \ifcase zero \or one \or two \or .... replace two by whatever character you want to appear for two/ – David Carlisle Dec 17 '16 at 23:21

Not the answer you're looking for? Browse other questions tagged or ask your own question.