From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Superscript before character Date: Sat, 07 Sep 2013 22:47:22 +0200 Message-ID: <87zjroqrz9.fsf@gmx.us> References: <522A0C37.5060003@mun.ca> <1A719A64-1CA8-47CB-871E-6FC93E421FD7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIPPx-0005Vq-KK for emacs-orgmode@gnu.org; Sat, 07 Sep 2013 16:47:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIPPs-0004ah-Bv for emacs-orgmode@gnu.org; Sat, 07 Sep 2013 16:47:41 -0400 Received: from plane.gmane.org ([80.91.229.3]:49414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIPPs-0004Z2-4Z for emacs-orgmode@gnu.org; Sat, 07 Sep 2013 16:47:36 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VIPPo-0006Th-VC for emacs-orgmode@gnu.org; Sat, 07 Sep 2013 22:47:32 +0200 Received: from g225173078.adsl.alicedsl.de ([92.225.173.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Sep 2013 22:47:32 +0200 Received: from rasmus by g225173078.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Sep 2013 22:47:32 +0200 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: emacs-orgmode@gnu.org Carsten Dominik writes: > On 6.9.2013, at 20:03, Charles Berry wrote: > >> Roger Mason mun.ca> writes: >> >>> >>> Hello, >>> >>> I'd like to create a superscript that preceeds a letter. I tried >>> ^1Fred, ^1 Fred, ^{1}Fred and ^{1} Fred, to no avail. >>> >>> Can this be done in org (8.0.3)? If so how? >> [snip] >> >> \nbsp{}^{1}Fred > > 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. I don't use prescripts, but perhaps a macro could be used? #+BEGIN_SRC org #+LATEX_HEADER: \usepackage{mhchem} #+MACRO: ce $\ce{$1}$ {{{ce(^{227}_{90}Th+)}}} *bold* #+END_SRC Further flexibility is probably possible using ob-latex. –Rasmus -- Don't panic!!!