mathjax / MathJax

Beautiful and accessible math in all browsers
http://www.mathjax.org/
Apache License 2.0
10.03k stars 1.16k forks source link

[HTML-CSS] IE: Bad positioning with Latin Modern and \large #1847

Open christianp opened 6 years ago

christianp commented 6 years ago

A Numbas user has reported some bad positioning in IE when using the \large command. I've narrowed it down to the fact that we use the Latin Modern font - the default TeX font doesn't have this problem.

I've made an example at https://codepen.io/christianp/pen/VMbrRj, basically consisting of the TeX string \large{\frac{2 b}{a} +  \frac{5 a}{b}}. In that Codepen, I've put a version with \displaystyle instead of \large underneath - it doesn't produce the same problem.

Here's how it looks in IE 10 with MathJax 2.7.2 on my machine:

image

It looks like the whole rendering has been shifted down a bit, so the bottom half is outside the clipping box.

pkra commented 6 years ago

Thanks for the report.

Confirmed for IE 9-11; IE8 and Edge 13+ are fine.

pkra commented 6 years ago

I've updated title since this is limited to the HTML-CSS output.