From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: org latex/beamer math escape in a ``surrounding context'': $a$'s Date: Fri, 4 Dec 2015 13:41:45 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4wEk-0003vK-IQ for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 14:41:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4wEj-0007Eh-NN for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 14:41:46 -0500 Received: from mail-ob0-x234.google.com ([2607:f8b0:4003:c01::234]:35516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4wEj-0007Eb-Hp for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 14:41:45 -0500 Received: by obbnk6 with SMTP id nk6so80408209obb.2 for ; Fri, 04 Dec 2015 11:41:45 -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 On Fri, Dec 4, 2015 at 1:18 PM, Martin Steffen wrote: > 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? Maybe not what you wanted to hear, but I've inquired about various things like this before and due to issues with various things I've opted primarily to just do \(math\). So: \(a\)s Does that work for you? John > > Martin > > > >