From: Carsten Dominik <carsten.dominik@gmail.com>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: Superscript before character
Date: Sun, 8 Sep 2013 07:47:18 +0200 [thread overview]
Message-ID: <D4988FF9-F36D-4B76-AF79-9B8A1012504A@gmail.com> (raw)
In-Reply-To: <87zjroqrz9.fsf@gmx.us>
[-- Attachment #1: Type: text/plain, Size: 1310 bytes --]
On 7.9.2013, at 22:47, Rasmus <rasmus@gmx.us> wrote:
> 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
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 #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 163 bytes --]
next prev parent reply other threads:[~2013-09-08 5: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
2013-09-08 5:47 ` Carsten Dominik [this message]
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=D4988FF9-F36D-4B76-AF79-9B8A1012504A@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=rasmus@gmx.us \
/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).