I've used the \fontable
command from the LaTeX package of the same name to print out all the glyphs represented by the font "cmex10". I've also written a program to display all the glyphs and their names (if present) in an OpenType font, in this case LatinModern-Math.otf
.
There are three sizes of larger-than-usual right and left delimiter glyphs for braces, brackets, floor, ceiling, angle brackets, and fraction slashes. Four sizes for parentheses. If these sizes don't work from some math typesetting, there are extension glyphs later in the font that can be pieced together to build even larger of these mathematical symbols, but we can ignore those for this question's purposes.
For example, in cmex, \char8
, \char26
, and \char40
are used to represent the left brace symbol at three (increasing) sizes, over and above the usual left brace '{' symbol at the usual font size in another text font.
The Latin Modern Math font has a superset of these larger delimiters. Not only does it have a usual brace character for text, but it has seven larger left brace character glyphs available for use (this is true for the other delimiter glyphs as well). Within this OpenType font, the internal names of these glyphs are "leftbrace" (for the usual), and "leftbrace.v1", "leftbrace.v2", ... "leftbrace.v7", each increasing in height. Since each of these glyphs corresponds to the same Unicode (or other encoding) character code, the only way I can see to retrieve the glyph is by its name (which hopefully will never change in future versions of the same font file).
The question is, which of these seven "extension" or "variant" glyphs in LatinModern-Math is the size-equivalent of the three original glyphs in cmex? Are "leftbrace.v1", "leftbrace.v2", and "leftbrace.v3" the best equivalents? Are "leftbrace.v2", "leftbrace.v4", and "leftbrace.v6" the ones?
Same question for parentheses, of which there are four larger sizes rather than three. In cmex, whole left parens are \char0
, \char16
, \char18
, and \char32
. Which four out of the seven variant glyphs in the OpenType font should one use?
In short, what is the proper mapping to guarantee that these open and close delimiter glyph sizes from LatinModern-Math are correct, or at least as close as possible, when trying to duplicate just these particular glyphs originally in Computer Modern Extended? I understand that there are baseline differences between the two fonts (per this question), but the present question only concerns glyph shapes and relative sizes for these particular open and close delimiters.
lmex
and you should be able to figure out exact mappings.lmex
an opentype.otf
file? If so, where can one find it?lmex
is just a clone ofcmex
then this answer doesn't help, becauselmex.tfm
has only the three (four for parens) variants, just like thecmex
font does. The fullLatinModern-Math.otf
file, OTOH, has the larger variant set that I'm asking about.lmex
because those inlmex
will be a subset of those in the maths font. So, if you want to know which glyphs correspond to the standard ones, you can comparelmex
with the maths font. And this will be easier than usingcmex
because those will not be perfect matches. It's a type1 font. There are the usual files. But the.tfm
will be less useful than the.afm
and the.pfb
.