emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Formatting Superscript and Italics Text in Org-mode
Date: Sat, 26 Apr 2014 23:34:16 -0400	[thread overview]
Message-ID: <87vbtve98n.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: CAKHaNCon9AhJz42M9FDMgywqPCm_4E7rr+K2v0ju53LZLq3Q_w@mail.gmail.com

Rodolfo Aramayo <raramayo@gmail.com> 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	other threads:[~2014-04-27  3:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-27  3:03 Formatting Superscript and Italics Text in Org-mode Rodolfo Aramayo
2014-04-27  3:34 ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vbtve98n.fsf@alphaville.bos.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).