From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Steffen Subject: org latex/beamer math escape in a ``surrounding context'': $a$'s Date: Fri, 4 Dec 2015 19:18:19 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4vsE-0003pa-9i for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 14:18:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4vsB-0006Vn-5A for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 14:18:30 -0500 Received: from plane.gmane.org ([80.91.229.3]:38700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4vsA-0006VH-UE for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 14:18:27 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a4vs8-00071U-UJ for emacs-orgmode@gnu.org; Fri, 04 Dec 2015 20:18:25 +0100 Received: from cm-84.215.65.209.getinternet.no ([84.215.65.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Dec 2015 20:18:24 +0100 Received: from msteffen by cm-84.215.65.209.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Dec 2015 20:18:24 +0100 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 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