Rainer M Krug <rai...@krugs.de> writes: > Eric S Fraga <e.fr...@ucl.ac.uk> writes: > >> On Monday, 28 Sep 2015 at 21:10, Rainer M Krug wrote: >>> Hi >>> >>> I would need in a document several equations which are aligned as in >>> http://tex.stackexchange.com/a/167908/6941 >> >> I use align all the time. >> >>> How can I use the following latex formula in orgmode? >>> >>> \begin{proof} The proof is a follows: >>> \begin{align} >>> (x+y)^3&=(x+y)(x+y)^2\\ >>> &=(x+y)(x^2+2xy+y^2)\\ >>> &=x^3+3x^2y+3xy^3+x^3.\qedhere >>> \end{align} >>> \end{proof} >> >> Where is proof defined? You may need to add specific packages to >> org-latex-packages-alist. > > The proof and the ".\qedhere" > > Stupid typos. > >> >> In any case, I find that it is safer generally to enclose all LaTeX >> fragments in a LaTeX block: #+begin_latex ... #+end_latex. > > Good idea - but then the preview does not work anymore? >
see http://orgmode.org/worg/org-hacks.html#orgheadline91 Best, Andreas