From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Escaping an underscore in LaTeX export Date: Wed, 28 Aug 2013 01:14:52 +0200 Message-ID: <87k3j6pvyr.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VESTp-0007i5-Ug for emacs-orgmode@gnu.org; Tue, 27 Aug 2013 19:15:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VESTi-0000Uc-Kk for emacs-orgmode@gnu.org; Tue, 27 Aug 2013 19:15:21 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:41047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VESTi-0000UU-CU for emacs-orgmode@gnu.org; Tue, 27 Aug 2013 19:15:14 -0400 Received: by mail-wi0-f181.google.com with SMTP id ex4so2775074wid.14 for ; Tue, 27 Aug 2013 16:14:38 -0700 (PDT) In-Reply-To: (John Hendy's message of "Tue, 27 Aug 2013 17:48:09 -0500") 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: John Hendy Cc: emacs-orgmode Hello, John Hendy writes: > LaTeX recommends \_ as an "escaped" underscore. In other words, > "really use the underscore, not a subscript." When I do this in > Org-mode and export via =C-e l p=, I don't get that behavior. > > Here's my options header: > > #+OPTIONS: *:t TeX:t LaTeX:t > > a\_b -> a$\backslash$$_{\text{b}}$ > a$\_$b -> a\$\_\$b > a $\_$ b -> a $\_$ b > > What *does* work, is this: > > a\(\_\)b -> a\_b You can use the entity : \under{}, e.g. a\under{}b or limit subscript to _{...} constructs., e.g., #+options: ^:{} a_b Regards, -- Nicolas Goaziou