[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Inline LaTeX fragments in emacs buffer
From: |
Daimrod |
Subject: |
Re: [O] Inline LaTeX fragments in emacs buffer |
Date: |
Sun, 13 May 2012 00:46:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Dov Grobgeld <address@hidden> 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 is √a²+b²
>
> where √a²+b² is a png image rendered via dvipng.
>
> I assume a toggle would switch between either seeing the formula or
> seeing the source of the formula, just like for the display of inline
> images. Also, pressing a backspace when the cursor is at the end of
> the formula should erase the trailing $ sign, and turn off image
> display of the formula, just like for [[links][name]].
>
> Has anything like this been implemented?
>
> Thanks!
> Dov
Yes, you can produce a preview image with C-c C-x C-l.
See
(info "(org) Previewing LaTeX fragments")
and
(info "(org) Embedded LaTeX")