3

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

\documentclass{article} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setmathfont{Latin Modern Math} \begin{document} Here is some math: $x_2=2$. \end{document} 

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?

0

1 Answer 1

5

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.

2
  • 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)? 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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.