Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Feature Request Align Environment in Math mode. #103

Closed
altairmn opened this issue Oct 13, 2016 · 5 comments
Closed

Feature Request Align Environment in Math mode. #103

altairmn opened this issue Oct 13, 2016 · 5 comments

Comments

@altairmn
Copy link

altairmn commented Oct 13, 2016

The align environment is not available within the latex delimeters. Do you plan to introduce this feature in the future?

Example:

x &= 10 \\
&\implies x \in \mathbb{R}
\end{align}

The align environment delimeters are displayed in the presentation as is though. Even if I enclose it in "$$" it doesn't work.

@mbeach42
Copy link

mbeach42 commented May 9, 2017

any news on this issue? Unfortunately, this makes Marp unusable for math presentations.

@ytakashina
Copy link

ytakashina commented May 23, 2017

I really hope for this feature.
For now, you can use this trick. (Using \! and white spaces.)

trick

@oleteacher
Copy link

Noticed this also and prevented from using in classroom presentations. Will try your solution @y-takashina, thank you!

@yuyamashiro
Copy link

Since Marp supports KaTeX instead of LaTeX, we use "aligned" environment instead of align.
ex. \begin{aligned} ~~ \end{aligned}
2017-10-26 17 25 41

@yhatt yhatt removed the enhancement label Oct 7, 2018
@yhatt
Copy link
Owner

yhatt commented Oct 8, 2018

We're making a clean sweep of piled up issues. Essentially this is an issue of KaTeX. Refer to KaTeX Common Issues.

KaTeX does not support the align environment because LaTeX doesn't support align in math mode. The aligned environment offers the same functionality but in math mode, so use that instead.

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

No branches or pull requests

6 participants