Mayanumber – Mayan numerals and vigesimal notation with positional floor colors
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).
| Sources | /macros/unicodetex/latex/mayanumber |
| Documentation | |
| Home page | |
| Bug tracker | |
| Announcements | |
| Repository | |
| Version | 1.0 2026-09-09 |
| Licenses | MIT License |
| Copyright | 2026 Manuel López Mateos |
| Maintainer | Manuel López Mateos |
| Topics | Numbers |
Download the contents of this package in one zip archive (54.4k).
Suggestions
Maybe you are interested in the following packages as well.
Community Comments