vim-markdown-composer icon indicating copy to clipboard operation
vim-markdown-composer copied to clipboard

Support LaTeX aligned environment

Open nadya-p opened this issue 7 years ago • 2 comments

Simple LaTeX equations are handled correctly

$$
a = b
$$

But aligned environment is not:

$$
\begin{aligned}
a & = b \\
c & = d \\
\end{aligned}
$$

image

nadya-p avatar Oct 16 '18 08:10 nadya-p

I need this too.

Even in markdown files this happens. While

$$
a = b
$$ 

is good,

$$
a = b\\
c = d\\
$$

gives the same thing back, but it should be equivalent to a non-numbered align in markdown, like shown in @nadya-p 's snapshot.

(I do know that in pure LaTeX indeed \\ are ignored in displaymath of $$ type.)

Any update on this?

physicophilic avatar Oct 29 '20 07:10 physicophilic

Okay. I want to add that

$$
a = b\\\ c=d 
$$

is working to give the non-numbered align correctly. I wonder why \\\ is needed?

Also, adding the newline breaks the equation.

This is basically enough for me, because I can get around these changes. Having them converted to the usual case would be a bonus however!

physicophilic avatar Oct 29 '20 08:10 physicophilic