emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Lawrence Bottorff <borgauf@gmail.com>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: \nbsp trick to get prefixed superscript to work?
Date: Mon, 18 May 2015 12:17:13 -0400	[thread overview]
Message-ID: <CAJ51ETr8URyb6dfSyEK6c+4EQVmMSRsRJ2HhP5ReVznpz++njw@mail.gmail.com> (raw)
In-Reply-To: <87k2w5zx3f.fsf@delle7240.chemeng.ucl.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

I think what Eric is referring to is:

#+latex_header: \usepackage[version=3]{mhchem}

@@latex:\ce{^{147}Pm}@@

that exports for me.

\nbsp{}^{147}Pm also seems to work, but might put an extra space in.

you might prefer \phantom{}^{147}Pm

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


On Mon, May 18, 2015 at 12:09 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:

> On Monday, 18 May 2015 at 11:43, Lawrence Bottorff wrote:
> > Apparently, chemists cannot do Emacs and/or org-mode when they want to
> > prefix the super- bzw. sub-script without a kudge?
>
> I've recently have had to start writing papers with significant amounts
> of chemistry in them.  I simply use the mhchem package which supports
> all types of chemical notation...  org is quite happy with it for simple
> entries although you may need to @@...@@ escape more complex entries.
>
> However, if you wanted something portable, i.e. that could export to
> other targets, then this won't help you.  Sorry!
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1136-g0e7062
>
>

[-- Attachment #2: Type: text/html, Size: 2043 bytes --]

  reply	other threads:[~2015-05-18 16:17 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
2015-05-18 16:09 ` Eric S Fraga
2015-05-18 16:17   ` John Kitchin [this message]
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=CAJ51ETr8URyb6dfSyEK6c+4EQVmMSRsRJ2HhP5ReVznpz++njw@mail.gmail.com \
    --to=jkitchin@andrew.cmu.edu \
    --cc=borgauf@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).