TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm desperately trying to use the Mayan math symbols I found listed in the Comprehensive LaTeX Symbols List. The document says that these symbols can be used this way (page 65):

Table 200:
Mayan Digits
0  \maya{0}
1  \maya{1}
2  \maya{2}
3  \maya{3}
4  \maya{4}
5  \maya{5}

I've added \usepackage{mathabx} at the top of my document and tried using as a test \maya{3} and then $\maya{3}$ in my document but get this error:

! Undefined control sequence.
\maya ...mayacnter =#1 \setbox 0\hbox {\mathbfont 
                                                  0}\mayawidth =\wd 0 \left ...
l.91 $\maya{3}

Any suggestions on what I'm doing wrong here? I'm not able to find any example documents online showing how to use this correctly.

share|improve this question
up vote 9 down vote accepted

One has to provide an appropriate definition for \mathbfont:







enter image description here

share|improve this answer
Is the need to define the \mathbfont a bug or a feature? – Kaba May 17 at 10:39
@Kaba: It is a bug, but it has been corrected in the version on the homepage www-math.univ-poitiers.fr/~phan/metafont.html#mathabx but the author hasn't uploaded the fix to ctan. – Ulrike Fischer May 25 at 15:48
@UlrikeFischer Thanks, this is also what the author told me; forgot to follow up here. – Kaba May 25 at 15:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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