emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Escaping an underscore in LaTeX export


From: Nicolas Goaziou
Subject: Re: [O] Escaping an underscore in LaTeX export
Date: Wed, 28 Aug 2013 01:14:52 +0200

Hello,

John Hendy <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]