I ask this question here because "Latin Modern" is a font, now also available in OpenType format, that's derived from Knuth's "Computer Modern", which is is mainly known by and of interest to the TeX/LaTeX community. It bears on my present work with LaTeX profiles (see my talk at TUG 2010, video available online at river-valley.tv or the print version in TUGboat, vol. 31 (2010), pp. 240-247).

When I try to use "Latin Modern Math" for inline math along with "Latin Modern Roman" in HTML, even something as simple as the inline HTML version of $x + y$ (using pseudo-mathml [to put Firefox and Chrome on the same playing field] as foreign HTML 5 markup controlled by CSS) results in the line containing the math being much too "tall". Changing to either GNU Free Serif or XITSMath makes this issue go away. Does anyone know why Latin Modern Math spawns such tall boxes when used with HTML?

Small example: http://www.albany.edu/~hammond/demos/test-xe-math-lm.html

closed as off-topic by Mico, Malipivo, Masroor, user31729, Loop Space May 31 '14 at 5:59

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – Mico, Malipivo, Masroor, Community, Loop Space
If this question can be reworded to fit the rules in the help center, please edit the question.

  • I don't see anything uncommon. Do I have to have the fonts installed on my system? – Stephan Lehmke May 31 '14 at 4:24
  • Using my android phone I've any trouble. Even the space between line is correct – Romain Picot May 31 '14 at 7:14
  • It should look OK with most fonts. If you don't know whether you have Latin Modern, you probably don't. If you have TeXLive and fontconfig in Linux, then you probably do. With Firefox or Chrome use the "inspector" to find out what font is used. – William F. Hammond May 31 '14 at 17:20
  • If I had a webfont version of Latin Modern, I suppose I could serve that with the example page, but I don't have one. – William F. Hammond May 31 '14 at 17:30
  • @WilliamF.Hammond Fréderic Wang has web font version of math fonts: github.com/fred-wang/MathFonts – michal.h21 Jun 1 '14 at 7:53