[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Superscript before character
From: |
Rasmus |
Subject: |
Re: [O] Superscript before character |
Date: |
Sat, 07 Sep 2013 22:47:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Carsten Dominik <address@hidden> writes:
> On 6.9.2013, at 20:03, Charles Berry <address@hidden> wrote:
>
>> Roger Mason <rmason <at> 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!!!