emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daimrod <daimrod@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Inline LaTeX fragments in emacs buffer
Date: Sun, 13 May 2012 00:46:51 +0200	[thread overview]
Message-ID: <87mx5ddnl0.fsf@gmail.com> (raw)
In-Reply-To: CA++fsGGKvbN3igS9hu6Wrz=MkODdUcP4EudEc0rXJdVTeJdnpQ@mail.gmail.com

Dov Grobgeld <dov.grobgeld@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 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")

  reply	other threads:[~2012-05-12 22:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-12 22:20 Inline LaTeX fragments in emacs buffer Dov Grobgeld
2012-05-12 22:46 ` Daimrod [this message]
2012-05-13 17:55   ` Darlan Cavalcante Moreira
2012-05-14 14:47     ` Dov Grobgeld
2012-05-14 14:52       ` Dov Grobgeld
2012-05-14 17:22         ` Darlan Cavalcante Moreira
2012-05-15 18:54         ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mx5ddnl0.fsf@gmail.com \
    --to=daimrod@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).