I'm writing a document that I would like to export to LaTeX and HTML. To write my formulas I mostly use the align
environment of TeX.
In the .org
file I write the formulas like this:
#+begin_align
a &= b + x \\
d &= a - b \\
#+end_align
The export to LaTeX works as expected and I get the correct align
environment. But for the HTML export begin_align
and end_align
are ignored and the ASCII text is displayed instead of a formula rendered with MathJax. The same happens if I use \begin{align}
and \end{align}
instead.
Standalone formulas work out of box.
How should/can I change the HTML export function to correctly display align
environments with MathJax?