atom-tidy-markdown icon indicating copy to clipboard operation
atom-tidy-markdown copied to clipboard

Latex ("math mode") gets broken

Open Synthetica9 opened this issue 9 years ago • 3 comments

When I write $\{\}$, this gets corrected to ${}$, while it should stay $\{\}$. It would be nice to have a config option to disable tidying in Latex.

Synthetica9 avatar Oct 08 '15 08:10 Synthetica9

Same here. It brokes my math expressions, i.e.:

$$ MeanSquare(t) = vaha_1 * MeanSquare(t-1) + vaha_2 * Gradient(t) $$

to

$$ MeanSquare(t) = vaha_1 _ MeanSquare(t-1) + vaha_2 _ Gradient(t) $$

m1lhaus avatar Jan 20 '16 15:01 m1lhaus

I have noticed the equations of the form $$ \begin{equation} a = b \end{equation} $$

becomes

$$ \begin{equation} a = b \end{equation} $$

which might be messy for longer equations, especially using \begin{align}, which also is messed up as the \ is converted to \

$$ \begin{align} a &= b \ b &= a^2 + c \end{align} $$

becomes

$$ \begin{align} a &= b \ b &= a^2 + c \end{align} $$

dslemusp avatar Dec 05 '16 17:12 dslemusp

+1

AStupidBear avatar Apr 14 '17 08:04 AStupidBear