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
Closed

aligned environment doesn't handle spacing properly #982

dpvc opened this issue Dec 19, 2014 · 5 comments
Labels
Accepted Issue has been reproduced by MathJax team Fixed Test Available v2.5
Milestone

Comments

@dpvc
Copy link
Member

dpvc 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 Issue has been reproduced by MathJax team label Dec 19, 2014
@dpvc dpvc added this to the MathJax 2.5 milestone Dec 19, 2014
@Alex-Jordan
Copy link

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
Copy link
Member Author

dpvc commented Dec 22, 2014

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

dpvc added a commit to dpvc/MathJax that referenced this issue Dec 26, 2014
@dpvc
Copy link
Member Author

dpvc commented Dec 26, 2014

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

dpvc added a commit to dpvc/MathJax that referenced this issue Dec 27, 2014
@dpvc dpvc added Merged Merged into develop branch and removed Ready for Review labels Dec 27, 2014
@dpvc
Copy link
Member Author

dpvc commented Dec 27, 2014

=> Merged.

@dpvc dpvc closed this as completed Dec 27, 2014
@dpvc
Copy link
Member Author

dpvc commented Jan 13, 2015

=> In Testsuite

LaTeXToMathML/environments/issue982.html

@dpvc dpvc added Fixed v2.5 and removed Merged Merged into develop branch labels Jan 30, 2015
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 Fixed Test Available v2.5
Projects
None yet
Development

No branches or pull requests

2 participants