Hello,
Dov Grobgeld dov.grobg...@gmail.com writes:
I got it. Org-mode erroneously interpreted the + sign on the second row as
a list token. Rearranging the latex text so that it does not start with -
or + is a workaround.
Actually, it's not erroneous. Plain lists in Org mode have precedence

Thanks for the help. It makes my coursera ml-class notes easier to read.
One issue I had when I tried exporting to HTML with the dvnpng option the
following equation:
\[
J(\theta) = - \frac{1}{m} \left[\sum_{i=1} ^m y^{(i)} \log
h_\theta(x^{(i)})+(1-y^{(i)})\log(1-h_\theta(x^{(i)}))\right]

I got it. Org-mode erroneously interpreted the + sign on the second row as
a list token. Rearranging the latex text so that it does not start with -
or + is a workaround.
On Mon, May 14, 2012 at 5:47 PM, Dov Grobgeld dov.grobg...@gmail.comwrote:
Thanks for the help. It makes my coursera

I don't think breaking the equation into multiple lines is supported by
org. It may work but it is not guaranteed. I write the whole equation as a
single line and I don't have any problems, besides the equation being
harder to read and modify later.
Ps: I have the same use case scenario: writing

org-preview-latex-fragment is really great but what is even better is that
it also works outside org-mode! This makes my life a lot easier.
I set C-c P as a global key-binding for org-preview-latex-fragment and
C-c p to org-ctrl-c-ctrl-c. Then I can preview equations all equations in
ANY buffer

Is there any way of getting org-mode to display inline LaTeX fragments in
the emacs buffer? E.g. I would like to be able to type:
The size of the hypotenuse is $\sqrt{a^2+b^2}$
and then the buffer immediately shows:
The size of the hypotenuse is √a²+b²
where √a²+b² is a png image rendered via

Dov Grobgeld dov.grobg...@gmail.com writes:
Is there any way of getting org-mode to display inline LaTeX fragments
in the emacs buffer? E.g. I would like to be able to type:
The size of the hypotenuse is $\sqrt{a^2+b^2}$
and then the buffer immediately shows:
The size of the hypotenuse