Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mathsize with fractions and operators fails to render properly #400

Closed
jcowgar opened this issue Mar 2, 2013 · 5 comments
Closed

mathsize with fractions and operators fails to render properly #400

jcowgar opened this issue Mar 2, 2013 · 5 comments
Labels
Accepted Issue has been reproduced by MathJax team Fixed Test Available v2.4
Milestone

Comments

@jcowgar
Copy link

jcowgar commented Mar 2, 2013

The addition operator in this example is way oversized for the fraction size.

<math xmlns="http://www.w3.org/1998/Math/MathML" mathsize='96pt'>
  <mrow>
    <mfrac>
      <mn>4</mn>
      <mn>8</mn>
    </mfrac>
    <mo>+</mo>
    <mfrac>
      <mn>4</mn>
      <mn>8</mn>
    </mfrac>
    <mo>=</mo>
    <mfrac>
      <mn>1</mn>
      <mn>1</mn>
    </mfrac>
  </mrow>
</math>
@pkra
Copy link
Contributor

pkra commented Mar 2, 2013

Thanks for reporting this. The alignment is also badly off. Deficiency grows worse with mathsize.

I can confirm for both HTML and SVG output on FF 19, Chrome 24, 26 on ubuntu 12.10. (Chrome 24 native MathML actually renders it better than MathJax ;) )

@dpvc
Copy link
Member

dpvc commented Mar 2, 2013

The characters are actually correctly sized. It is the math axis and the inter character spacing that are not being scaled. So the fractions are aligned on the math axis for an unscaled expression.

@ghost ghost assigned dpvc Apr 15, 2013
@dpvc
Copy link
Member

dpvc commented Apr 9, 2014

This turns out to be the same as issue #703, which is resolved in a branch for that issue.

@dpvc
Copy link
Member

dpvc commented Apr 11, 2014

=> Merged.

@dpvc dpvc closed this as completed Apr 11, 2014
dpvc added a commit to mathjax/MathJax-test that referenced this issue Apr 22, 2014
@dpvc
Copy link
Member

dpvc commented Apr 22, 2014

=> In Test Suite.

LaTeXToMathML/issue400-1.html
LaTeXToMathML/issue400-2.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Issue has been reproduced by MathJax team Fixed Test Available v2.4
Projects
None yet
Development

No branches or pull requests

3 participants