emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] \nbsp trick to get prefixed superscript to work?


From: Nick Dokos
Subject: Re: [O] \nbsp trick to get prefixed superscript to work?
Date: Mon, 18 May 2015 12:09:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Lawrence Bottorff <address@hidden> 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 via email to

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