CTAN Comprehensive TeX Archive Network

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 and Lua. 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 ( StackExchange, answer 452806).

Sources/macros/unicodetex/latex/mayanumber
Documentation
Home page
Bug tracker
Announcements
Repository
Version1.0 2026-09-09
LicensesMIT License
Copyright2026 Manuel López Mateos
MaintainerManuel López Mateos
TopicsNumbers

Download the contents of this package in one zip archive (54.4k).

Community Comments

Loading...

Package Links

Guest Book Sitemap Contact Contact Author