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

multiline does not work for math #1690

Open
cpraveen opened this issue Dec 7, 2024 · 3 comments
Open

multiline does not work for math #1690

cpraveen opened this issue Dec 7, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@cpraveen
Copy link

cpraveen commented Dec 7, 2024

multiline from amsmath is mentioned here

https://mystmd.org/guide/math

but it does not render correctly. E.g.,

\begin{multiline}
x = a + b \\ 
c + d
\end{multiline}

does not render correctly.Image

@cpraveen cpraveen added the bug Something isn't working label Dec 7, 2024
@cpraveen
Copy link
Author

cpraveen commented Dec 7, 2024

Actually there is a multline in amsmath

https://www.overleaf.com/learn/latex/Aligning_equations_with_amsmath

but this also does not work in mystmd.

@FreekPols
Copy link

Image

$$
\begin{align*}
ax+b\
z=f(x)
\end{align
}
$$

@rowanc1
Copy link
Member

rowanc1 commented Dec 28, 2024

The spelling was incorrect in the docs. It also seems that this environment is not supported in KaTeX. See here for demo.

Changing this to an align environment is likely the best workaround, but that should be done programatically.

rowanc1 added a commit that referenced this issue Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants