# Problem in Anki + LaTeX when newline + cloze

Hello, there is a problem in Anki when typing : $text1 \\ {{c1:text2}}$ . Error message : “! Illegal unit of measure (pt inserted)”. A way to fix it is by writing ‘\newline’ instead of ‘\\’.

\\ [...]

is not valid LaTeX, but MathJax appears to accept it, so you could use that instead.

1 Like