MathJax icon indicating copy to clipboard operation
MathJax copied to clipboard

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

Open hbghlyj opened this issue 2 years ago • 3 comments

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

hbghlyj avatar Aug 21 '23 16:08 hbghlyj

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 avatar Aug 23 '23 16:08 dpvc

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

dpvc avatar Aug 25 '23 16:08 dpvc

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

dpvc avatar Aug 25 '23 16:08 dpvc