[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-element
From: |
Suvayu Ali |
Subject: |
Re: [O] org-element |
Date: |
Fri, 22 Feb 2013 14:35:24 +0100 |
User-agent: |
Mutt/1.5.21 (2012-12-30) |
On Fri, Feb 22, 2013 at 02:25:13PM +0100, Nicolas Goaziou wrote:
> Suvayu Ali <address@hidden> writes:
>
> > On Fri, Feb 22, 2013 at 11:38:16AM +0000, Achim Gratz wrote:
> >>
> >> How is one supposed to write (longer) equations out on multiple lines
> >> (leaving
> >> the operators behind on the previous line obviously works, but is ugly)?
> >
> > I use LaTeX blocks. So your example would translate to:
> >
> > #+begin_latex
> > \begin{equation}
> > r = a
> > + b
> > - c
> > \end{equation}
> > #+begin_latex
>
> This is a bit different from what the OP is asking for. A LaTeX block
> will only be exported by a latex (or derived) back-end. On the other
> hand, \[1+1\] may be exported by any back-end (for example using mathjax
> in html).
>
Ah! I did not realise that \[..\] was also interpreted by mathjax.
Thanks for pointing it out.
> Anyway, the equivalent would be a LaTeX environment:
>
> \begin{equation*}
> r = a
> + b
> - c
> \end{equation*}
Typo on my part. :-p
Cheers,
--
Suvayu
Open source is the future. It sets us free.