emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Superscript before character


From: Carsten Dominik
Subject: Re: [O] Superscript before character
Date: Sun, 8 Sep 2013 07:47:18 +0200

On 7.9.2013, at 22:47, Rasmus <address@hidden> wrote:

> 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

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

[Prev in Thread] Current Thread [Next in Thread]