From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: org latex/beamer math escape in a ``surrounding context'': $a$'s Date: Fri, 04 Dec 2015 14:44:32 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4wHX-0005Y5-Os for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 14:44:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4wHS-0007tQ-Oz for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 14:44:39 -0500 Received: from mail-qk0-x231.google.com ([2607:f8b0:400d:c09::231]:35224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4wHS-0007tM-LY for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 14:44:34 -0500 Received: by qkek142 with SMTP id k142so7585802qke.2 for ; Fri, 04 Dec 2015 11:44:34 -0800 (PST) In-reply-to: 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: Martin Steffen Cc: emacs-orgmode@gnu.org does \(a\)'s work? Martin Steffen writes: > Hi, I'd to have some math in beamer/latex. In LaTeX I'd write > > $a$'s > > The a is the math, the apostroph-s is the surrounding text. Math-escape > works fine in org, but it seems the $ -- $ must be surrounded by blanks. > In the above example, exporting to latex/beamer does not give the desired > result. The immediately trailing "'s" get the $-signs interpreted > verbatimely. Same applies for other surrounding contexts like > > ``$a$'' $a$s > > but ($a$) and "$a$" do a math-escape. Is there a solution for the above (I > don't want to write $a$ 's)? Or is there a rationale behind that, so I know > when to except an escape and when no? > > Martin -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu