[Latex bug] cannot use "\\" to break math line in $$...$$

  • Bear Version:2.5.1
  • OS Version: MacOS 26.0 Beta
  • What were you doing: typing math equations with LaTeX
  • What feature did you use: LaTeX
  • What happened: I cannot break lines with LaTeX formula \\. It just like nothing happened when I tried to use a new line to write equations. Considering LaTeX in Bear 2.5.1 is powered by MathJaX, I try to use escape character \ to fix it: That means use \\\\ instead of \\ to break lines but I failed again.
  • What did you expect to happen: use \\ to break lines in LaTeX. Thatโ€™s very important for me! Thanks
  1. use \\

  1. use \\\\

Thanks~

Latex does not support linebreaks via \\ in Mathmode. You have to use an environment like gather allign or array.

\begin {gather}

Line 1 \\

Line 2

\end {gather}

1 Like

Oh thanks, it works!

Now I can copy all my math notes from other app to bear :laughing: