[texhax] [lltx] issue with unicode-math, spanish and LuaLaTeX
asnd at triumf.ca
Thu Jul 14 21:53:13 CEST 2011
Philipp Stephani <st_philipp at yahoo.de> writes:
> The correct syntax is \showthe\test (mathematical character shorthands are numbers). TeX does some weird things with your syntax. Is this documented somewhere?
> $ tex
> This is TeX, Version 3.1415926 (TeX Live 2011)
> > 28993.
> <*> \showthe\mathcode\a
> > 65.
> <*> \showthe\a
> What is the meaning of \mathcode\controlseq?
Given that you started out with the answer, I am surprised you end with
this question. If \controlseq returns a number in the range of a character
code, then \mathcode\controlseq gives the mathcode of that character. The
example above indicates that the letter A has a mathcode of 28993.
Donald Arseneau asnd at triumf.ca
More information about the texhax