Superscript under square root very close to the bar sometimes
Created by: jmitsdarfer
Issue Summary
At 100% zoom, sometimes a superscript w/in an msqrt appears to almost be touching the square root bar, depending on the exact equation. For example, this one looked fine:
<mi>x</mi> <mo>=</mo> <msqrt> <mrow> <msup> <mrow> <mi>b</mi> </mrow> <mrow> <mn>2</mn> </mrow> </msup> <mo>−</mo> <mn>4</mn> <mi>a</mi> <mi>c</mi> </mrow> </msqrt>
However, this one looked very tight:
<mi>a</mi> <msqrt> <mrow> <msup> <mrow> <mi>n</mi> </mrow> <mrow> <mn>2</mn> </mrow> </msup> <mo>+</mo> <mn>1</mn> </mrow> </msqrt> <mrow> <mo stretchy="true">(</mo> <mfrac> <mrow> <mi>n</mi> <mi>a</mi> </mrow> <mrow> <mn>2</mn> </mrow> </mfrac> <mo>+</mo> <msub> <mrow> <mi>X</mi> </mrow> <mrow> <mi>c</mi> </mrow> </msub> <mo stretchy="true">)</mo> </mrow>
I didn't really understand what the difference could be in these seemingly similar equations to be causing the different square root forms/sizes, so I did a little further testing...
I tested changing the "n" to a "b", but that didn't make a difference. Then, I tried this:
<mi>a</mi> <mo>=</mo> <msqrt> <mrow> <msup> <mrow> <mi>n</mi> </mrow> <mrow> <mn>2</mn> </mrow> </msup> <mo>+</mo> <mn>4</mn> </mrow> </msqrt>
also looks tight between the superscript "2" and the square root bar, i.e.,
However, just changing the plus sign to a minus sign changes the look of the square root and thus the superscript "2" isn't so tight to the square root bar in this case, i.e.,
<mi>a</mi> <mo>=</mo> <msqrt> <mrow> <msup> <mrow> <mi>n</mi> </mrow> <mrow> <mn>2</mn> </mrow> </msup> <mo>−</mo> <mn>4</mn> </mrow> </msqrt>
I don't understand why having a plus sign there or having a minus sign there would change the look of the equation.
If I blow these up to like 200%, I can see that there is indeed a very slight amount of white space between the superscript "2" and the bar
At 100% zoom, though, it seems a little too close for comfort sometimes.
Technical details:
MathJax Version: master - latest commit: MathJax.js v2.7.9 Client OS: Windows Browser: Version 94.0.4606.61 (Official Build) (64-bit) Renderer: HTML-CSS