MathJax
MathJax copied to clipboard
(v4 inline) the spacing around \implies is different from v3
I'm loading MathJax v3 via
|
Screenshot:
|
|
I'm loading MathJax v4 via
|
Screenshot:
|
The CHTML output is fine.
This is an interaction of the in-line lin-breaking code with the spacing in SVG output, similar to #3165 and #3135, but apparently not quite the same one. I will need to look into it further.
PS, the current version for v3 is 3.2.2, not 3.0.1, so best to test against that in the future.
I have made a PR to resolve this issue, but for now, you can incorporate
MathJax = {
startup: {
ready() {
const {SvgWrappers} = MathJax._.output.svg.Wrappers_ts;
SvgWrappers.mspace = class mySvgMspace extends SvgWrappers.mspace {
computeLineBBox(i) {
const bbox = super.computeLineBBox(i);
if (i === 1) {
bbox.w = this.getBBox().w;
bbox.isFirst = (bbox.w === 0);
}
return bbox;
}
}
MathJax.startup.defaultReady();
}
}
};
into your MathJax configuration in order to work around the problem.