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

aligned environment doesn't handle spacing properly #982

Closed
dpvc opened this issue Dec 19, 2014 · 5 comments

Comments

Projects
None yet
2 participants
@dpvc
Copy link
Member

commented Dec 19, 2014

The spacing for \begin{aligned}a&=b\end{aligned} before the equal sign is not correct. It should match \begin{align}a&=b\end{align}.

See http://meta.math.stackexchange.com/a/18773/7798

@dpvc dpvc added the Accepted label Dec 19, 2014

@dpvc dpvc added this to the MathJax 2.5 milestone Dec 19, 2014

@Alex-Jordan

This comment has been minimized.

Copy link

commented Dec 21, 2014

The same is true for \begin{aligned}a&>b\end{aligned}.

And for \begin{aligned}a&+b\end{aligned}, the plus sign is not treated like a binary operator with buffer spacing on either side. I can correct all of these by putting {} after the &.

So it looks like aligned is not putting an atom at the beginning of its second column when it should be, or something like that.

@dpvc

This comment has been minimized.

Copy link
Member Author

commented Dec 22, 2014

Yes, all those cases are problematic. I have the fix, but haven't put it in place yet.

dpvc pushed a commit to dpvc/MathJax that referenced this issue Dec 26, 2014

@dpvc

This comment has been minimized.

Copy link
Member Author

commented Dec 26, 2014

This is resolved in the issue982 branch of my fork of MathJax.

dpvc pushed a commit to dpvc/MathJax that referenced this issue Dec 27, 2014

@dpvc dpvc added Merged and removed Ready for Review labels Dec 27, 2014

@dpvc

This comment has been minimized.

Copy link
Member Author

commented Dec 27, 2014

=> Merged.

@dpvc dpvc closed this Dec 27, 2014

@dpvc

This comment has been minimized.

Copy link
Member Author

commented Jan 13, 2015

=> In Testsuite

LaTeXToMathML/environments/issue982.html

@dpvc dpvc added Test Available and removed Test Needed labels Jan 13, 2015

@dpvc dpvc added Fixed v2.5 and removed Merged labels Jan 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.