Parentheses in jqMath lifted up

49 Views Asked by At

In jqMath, if I write a pair of parentheses containing only "short" letters (such as "x"), the result is lifted up from the baseline. See here:

here

or row 5 in the table at https://mathscribe.com/author/jqmath.html.

I'm using Chrome 122 on Windows 10.

How can I hack my HTML (or jqMath itself) to make this look OK?

Edit: Writing $f(x)$ in jqMath produces (essentially) <mrow><mi>f</mi><mrow><mo>(</mo><mi>x</mi><mo>)</mo></mrow></mrow> in MathML which renders (badly) as here in Chrome.

But writing <mrow><mi>f</mi><mo>(</mo><mi>x</mi><mo>)</mo></mrow> directly in MathML renders as here which looks OK.

I don't know which is the "correct" way to write in MathML, but it seems my problem would be solved if I could force jqMath to produce a single <mrow>.

1

There are 1 best solutions below

1
Dave Barton On

This is a browser (chrome, maybe others) bug. See https://issues.chromium.org/issues/40856331.