reddit / emacs

Is there any way to tell org-mode NOT to disable & when exporting to LaTeX?

representativesign03 · 2022-01-26 23:46
I'm trying to align a few equations, but when aligning on the equals with "&=", org-mode escapes the ampersand and exports it as "\\&=", which makes a literal "&=" show up in my document. How can I disable this? The only other mention of this problem I can find is an abandoned stack overflow thread, where one commenter suggests trying to start Emacs without any configurations, (`emacs -Q`) which did not solve the problem.
YannZed · 2022-01-27 00:11
You will need to give a bit more information, like pasting a minimal example and what you are trying to export to. For example, even having a file with just: \begin{align} a &= b\\ c \land d &= c \end{align} Works for outputting to HTML as well as LaTeX.
0lMon · 2022-01-27 00:26
Hej Hej, One possibility I know: `@@latex:&=@@` Cheers!