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 for split equations #985

Closed
hagenw opened this issue Nov 24, 2017 · 3 comments
Closed

Aligned environment for split equations #985

hagenw opened this issue Nov 24, 2017 · 3 comments

Comments

@hagenw
Copy link
Contributor

hagenw commented Nov 24, 2017

As KaTeX has no split environment I tried to achieve the same by using the aligned environment.
I tried the following:

\begin{alinged}
a &= b + c \\
  &= e + f
\end{aligned}

This approach works under LaTeX, but not under KaTeX. For KaTeX I have to add \\ at the end of the last line as well, otherwise the line is missing in the HTML document (see picture below):

\begin{alinged}
a &= b + c \\
  &= e + f \\
\end{aligned}

aligned

Code to produce the picture: https://gist.github.com/hagenw/1260f21203b4095a061ac3da6b01b5e4

@ronkok
Copy link
Collaborator

ronkok commented Nov 24, 2017

@hagenw, PR #949 was written to fix a problem with parsing a empty cell at the beginning of the last line in an array. I expect a release this weekend that will include PR #949. Could you try again after that release and tell me if your problem recurs?

@edemaine
Copy link
Member

0.9.0-alpha2 is out now! Please give a try.

@kevinbarabash
Copy link
Member

I've also updated the demo to 0.9.0-alpha2 and have verified that it works there.
screen shot 2017-11-26 at 7 58 12 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants