From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daimrod Subject: Re: Inline LaTeX fragments in emacs buffer Date: Sun, 13 May 2012 00:46:51 +0200 Message-ID: <87mx5ddnl0.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STL5d-0001bt-RX for emacs-orgmode@gnu.org; Sat, 12 May 2012 18:47:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1STL5c-0002St-7Y for emacs-orgmode@gnu.org; Sat, 12 May 2012 18:47:05 -0400 Received: from plane.gmane.org ([80.91.229.3]:38532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STL5c-0002Se-0h for emacs-orgmode@gnu.org; Sat, 12 May 2012 18:47:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1STL5Z-0007WO-FG for emacs-orgmode@gnu.org; Sun, 13 May 2012 00:47:01 +0200 Received: from anantes-556-1-313-78.w90-59.abo.wanadoo.fr ([90.59.33.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 May 2012 00:47:01 +0200 Received: from daimrod by anantes-556-1-313-78.w90-59.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 May 2012 00:47:01 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Dov Grobgeld 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")