emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: \nbsp trick to get prefixed superscript to work?
Date: Mon, 18 May 2015 12:09:04 -0400	[thread overview]
Message-ID: <87oalh27hb.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: CAFAhFSVBRoGah855D6U7dcq8=BBtJrXuY1KNGHKSSQ-aWsLCVQ@mail.gmail.com

Lawrence Bottorff <borgauf@gmail.com> writes:

> I saw an earlier discussion about Emacs/org-mode superscript and
> subscript behavior. My issue is I want to do a chem isotope of an
> element. In standard Latex format I would do this:
>
> $^{147}$Pm  or leaving off the $ and turning on Emacs' display of
> UTF-8 ( C-c C-x \ ) just ^{147}Pm
>
> but it doesn't work in either Emacs or org-mode, however
>
> Pm^{147} does, i.e., putting the super-/subscript /after/ Pm. Also,
>
> $^{147}Pm$ does work, although it converts the Pm into italicized text
> upon export. Also
>
> \nbsp^{147}Pm works in both Emacs and org-mode, but upon standard
> export to HTML, it works in the TOC and down in the actual text, but
> not in the "Contents" section (not used in Latex export).
>
> Apparently, chemists cannot do Emacs and/or org-mode when they want to
> prefix the super- bzw. sub-script without a kudge?
>

This seems to work fine for me both for latex and html (with MathJax)
export:

--8<---------------cut here---------------start------------->8---
* Dating with \(^{14}\)C.

Dating with \(^{14}\)C.
--8<---------------cut here---------------end--------------->8---

Nick

  reply	other threads:[~2015-05-18 16:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18 15:43 \nbsp trick to get prefixed superscript to work? Lawrence Bottorff
2015-05-18 16:09 ` Nick Dokos [this message]
2015-05-18 16:09 ` Eric S Fraga
2015-05-18 16:17   ` John Kitchin
2015-05-18 19:18     ` Sebastien Vauban

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=87oalh27hb.fsf@alphaville.usersys.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).