I'm using XeLateX, Unicode math, and the Latin Modern fonts (Latin Modern and Latin Modern Math). To me, it looks like subscripts in mathematical expressions are being properly (optically) scaled -- they are not merely small-size versions of regular characters, they are wider and have fatter strokes.

Here's some code

\setmainfont{Latin Modern Roman}
\setmathfont{Latin Modern Math}
Here is some math: $x_2=2$.

and the output

enter image description here

In traditional TeX, the subscript scaling would be done by using a completely different font, like cmmi7. But the Latin Modern Math font only comes in one design size (10 pt, I suppose). So how is the subscript scaling achieved?


1 Answer 1


In OpenType math fonts, the optically scaled glyphs for script and script script sizes are included in the same font file (usually ununcoded) and are mapped using ssty feature, which unicode-math enables as appropriate.

  • Ok. Thanks. So, if these glyphs are " not encoded", I guess that explains why they don't appear in the Windows Character Map utility? So, how do I refer to these glyphs (in code, for example)?
    – bubba
    Commented Nov 10, 2014 at 12:49
  • In XeTeX you can use \XeTeXglyph to access any glyph in the font (encoded or otherwise) by its index. Commented Nov 10, 2014 at 18:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .