From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Superscript before character
Date: Sat, 07 Sep 2013 22:47:22 +0200 [thread overview]
Message-ID: <87zjroqrz9.fsf@gmx.us> (raw)
In-Reply-To: 1A719A64-1CA8-47CB-871E-6FC93E421FD7@gmail.com
Carsten Dominik <carsten.dominik@gmail.com> writes:
> On 6.9.2013, at 20:03, Charles Berry <ccberry@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
Further flexibility is probably possible using ob-latex.
–Rasmus
--
Don't panic!!!
next prev parent reply other threads:[~2013-09-07 20:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-06 17:09 Superscript before character Roger Mason
2013-09-06 18:03 ` Charles Berry
2013-09-06 18:40 ` Roger Mason
2013-09-07 8:43 ` Carsten Dominik
2013-09-07 20:47 ` Rasmus [this message]
2013-09-08 5:47 ` Carsten Dominik
2013-09-08 10:15 ` Rasmus
2013-09-08 10:34 ` Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zjroqrz9.fsf@gmx.us \
--to=rasmus@gmx.us \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).