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)?
Asked
Active
Viewed 399 times
1 Answers
2
You only need some command that converts the representation. E.g. with expl3:
\documentclass{article}
\usepackage{expl3}
\ExplSyntaxOn
\renewcommand\thepage{\int_to_bin:n{\value{page}}}
\ExplSyntaxOff
\begin{document}
blub\newpage blub \newpage blub
\end{document}
Ulrike Fischer
- 327,261
\ifcase zero \or one \or two \or ....replacetwoby whatever character you want to appear for two/ – David Carlisle Dec 17 '16 at 23:21