From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Superscript before character Date: Sun, 8 Sep 2013 07:47:18 +0200 Message-ID: References: <522A0C37.5060003@mun.ca> <1A719A64-1CA8-47CB-871E-6FC93E421FD7@gmail.com> <87zjroqrz9.fsf@gmx.us> Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: multipart/signed; boundary="Apple-Mail=_80823940-33F2-4BE7-ABC6-BDCA3FBF9C0A"; protocol="application/pgp-signature"; micalg=pgp-sha1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIXqF-00078L-W2 for emacs-orgmode@gnu.org; Sun, 08 Sep 2013 01:47:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIXqB-0003Jm-KG for emacs-orgmode@gnu.org; Sun, 08 Sep 2013 01:47:23 -0400 Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:58401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIXqB-0003Jg-C5 for emacs-orgmode@gnu.org; Sun, 08 Sep 2013 01:47:19 -0400 Received: by mail-wg0-f45.google.com with SMTP id y10so4248211wgg.0 for ; Sat, 07 Sep 2013 22:47:18 -0700 (PDT) In-Reply-To: <87zjroqrz9.fsf@gmx.us> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: emacs-orgmode@gnu.org --Apple-Mail=_80823940-33F2-4BE7-ABC6-BDCA3FBF9C0A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 7.9.2013, at 22:47, Rasmus wrote: > Carsten Dominik writes: >=20 >> On 6.9.2013, at 20:03, Charles Berry wrote: >>=20 >>> Roger Mason mun.ca> writes: >>>=20 >>>>=20 >>>> Hello, >>>>=20 >>>> I'd like to create a superscript that preceeds a letter. I tried >>>> ^1Fred, ^1 Fred, ^{1}Fred and ^{1} Fred, to no avail. >>>>=20 >>>> Can this be done in org (8.0.3)? If so how? >>> [snip] >>>=20 >>> \nbsp{}^{1}Fred >>=20 >> Yes, nice. I also need this often. You can also write = \nbsp^{1}Fred, >> a bit more compact. I am wondering if we could come up with = something >> even more compact though. I often have to write names of isotopes, >> for example >> \nbsp^{13}CO, and I do find that cumbersome. >=20 > I don't use prescripts, but perhaps a macro could be used? >=20 > #+BEGIN_SRC org > #+LATEX_HEADER: \usepackage{mhchem} > #+MACRO: ce $\ce{$1}$ > {{{ce(^{227}_{90}Th+)}}} *bold* > #+END_SRC Yes, this will do the trick for LaTeX, but {{{...}}} is still not = pretty. Yes, maybe I should think more about the cechem package - did not know = it, and it looks good. Thanks! - Carsten \ce >=20 > Further flexibility is probably possible using ob-latex. >=20 > =96Rasmus >=20 > -- > Don't panic!!! >=20 >=20 --Apple-Mail=_80823940-33F2-4BE7-ABC6-BDCA3FBF9C0A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlIsD2YACgkQ9hweYzZiJkwEvQCfTyUDlQzPo0ZXmj3MSfmtIz/w BgYAn0j3uXsR40xZzuXjWcthjjuQgPz+ =lJGk -----END PGP SIGNATURE----- --Apple-Mail=_80823940-33F2-4BE7-ABC6-BDCA3FBF9C0A--