On 7.9.2013, at 22:47, Rasmus <ras...@gmx.us> wrote:

> Carsten Dominik <carsten.domi...@gmail.com> writes:
> 
>> On 6.9.2013, at 20:03, Charles Berry <ccbe...@ucsd.edu> 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

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

> 
> Further flexibility is probably possible using ob-latex.
> 
> –Rasmus
> 
> --
> Don't panic!!!
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to