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

spacing in align environment 3rd column is incorrect for minus sign #3089

Open
hbghlyj opened this issue Aug 21, 2023 · 3 comments
Open

spacing in align environment 3rd column is incorrect for minus sign #3089

hbghlyj opened this issue Aug 21, 2023 · 3 comments
Labels
Accepted Issue has been reproduced by MathJax team Merged Merged into develop branch Test Needed v3
Milestone

Comments

@hbghlyj
Copy link

hbghlyj commented Aug 21, 2023

Issue Summary

4-column align environment has columnalign right left right left

\begin{aligned}
-L&=A E+C F&-M&=A F+C G\\
-M&=B E+D F&-N&=B F+D G .
\end{aligned}
For LaTeX in the third column, there is little space after negative signFor MathJax in the third column, there is normal space after negative sign

I notice <mi></mi> prepended by MathJax

Technical details:

  • MathJax Version: 3.2
@dpvc dpvc added Accepted Issue has been reproduced by MathJax team v3 labels Aug 23, 2023
@dpvc
Copy link
Member

dpvc commented Aug 23, 2023

The <mi></mi> is being added too aggressively. I will make a PR to fix the problem. In the meantime, you could use {-}M and {-}N instead to prevent the extra spacing.

@dpvc
Copy link
Member

dpvc commented Aug 25, 2023

OOPS! linked the commit and PR above to the wrong issue. Please ignore.

@dpvc
Copy link
Member

dpvc commented Aug 25, 2023

OK, the previous commit and PR are now the correct ones.

dpvc added a commit to mathjax/MathJax-src that referenced this issue Sep 15, 2023
Don't insert <mi/> on right-aligned columns.  (mathjax/MathJax#3089)
@dpvc dpvc added Merged Merged into develop branch and removed Ready for Review labels Jun 28, 2024
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 Merged Merged into develop branch Test Needed v3
Projects
None yet
Development

No branches or pull requests

2 participants