emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Formatting Superscript and Italics Text in Org-mode


From: Nick Dokos
Subject: Re: [O] Formatting Superscript and Italics Text in Org-mode
Date: Sat, 26 Apr 2014 23:34:16 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Rodolfo Aramayo <address@hidden> writes:

> Writing Genetic phenotypes in Org-Mode I am running into the following 
> problem:
>
> When I issue a set of commands that combine Italics and/or superscript I do 
> not get expected behavior
>
> 1. /Asm-1/ <==EXPECTED
>
> 2. Asm-1^+ <==NOT EXPECTED
>
Try
        Asm-1^{+}
        
> 3. /Asm-1/^+ <==NOT EXPECTED
>

This can work I believe (with curly braces around the +) but it requires
munging org-emphasis-regexp-components to allow the caret as a postmatch
character. Untested.

> 4. /Asm-1/^5 <==NOT EXPECTED
>

Ditto.

> 5. Asm-1^5 <==EXPECTED
>
> 6. /Asm-1/ ^+ <==NOT EXPECTED

What do you expect here?

>
> 7. /Asm-1/ ^5 <==NOT EXPECTED
>

and here?

> 8. /Asm-1/_+_ <==NOT EXPECTED
>

and here?

> 9. /matA^HMG/ <==EXPECTED
>
> 10. /asm-1^+/ <==NOT EXPECTED
>

Try

        /asm-1^{+}/

Nick








reply via email to

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