mayanumber__doc
Mayan numerals and vigesimal notation with positional floor colors
- Version:
- 1.0
- Copyright:
- Manuel López Mateos
- License:
- mit
- Packaged on:
- 09/12/2026 11:20:49
- Number of files:
- 3
- Size on disk:
- 51.96 kB
This package typesets decimal integers of any magnitude as Mayan numerals (dots and bars, Unicode block U+1D2E0-U+1D2F3) or as vigesimal alphabetic notation (0-9, A-J), for XeLaTeX and LuaLaTeX. Each positional floor can be colored with a seven-color cycle (earth, water, vegetation, life, sky, sun, universe). Options: vertical/horizontal layout, colors/nocolor, scale and alignment; the starred form prints the alphabetic notation. The base-20 conversion uses long division over the decimal string, so magnitudes are unbounded. Requires the free font BabelStone Mayan Numerals. Extends the original macro by @egreg (TeX StackExchange, answer 452806).