[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Escaping an underscore in LaTeX export
From: |
John Hendy |
Subject: |
Re: [O] Escaping an underscore in LaTeX export |
Date: |
Fri, 30 Aug 2013 21:49:37 -0500 |
On Tue, Aug 27, 2013 at 6:14 PM, Nicolas Goaziou <address@hidden> wrote:
> 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
I'll look into this. I probably should have sooner, and it wouldn't
bother me *that* much to have to specify underscore and superscript
LaTeX entities with {} vs. having them picked up automatically.
Thanks for the tip!
John
>
>
> Regards,
>
> --
> Nicolas Goaziou