-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
(v4 inline) the spacing around \implies is different from v3 #3166
Labels
Accepted
Issue has been reproduced by MathJax team
Code Example
Contains an illustrative code example, solution, or work-around
Merged
Merged into develop branch
v4
Comments
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. |
dpvc
added
the
Code Example
Contains an illustrative code example, solution, or work-around
label
Jan 26, 2024
dpvc
added a commit
to mathjax/MathJax-src
that referenced
this issue
Feb 1, 2024
Fix issues with line breaks and spacing in SVG output. (mathjax/MathJax#3166)
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
Code Example
Contains an illustrative code example, solution, or work-around
Merged
Merged into develop branch
v4
Screenshot:
I'm loading MathJax v4 via
Screenshot:
The CHTML output is fine.
The text was updated successfully, but these errors were encountered: