Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Superscript in text

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96445] Superscript in text
  • From: caw <cawright.99 at gmail.com>
  • Date: Fri, 13 Feb 2009 03:47:59 -0500 (EST)

Hi...
I am writing a short piece for students on acid-base balance and want
to have H+ and OH- (and other ions) with the superscript appearing in
the correct position.
I start typing in a Text Cell...
H
--- press C-^
<italic H>
... but I don't want the H to be italic...

OH
--- press C-^
<not italic OH> and all is well...

it seems that one char + superscript -> italicize the char
> one char + superscript -> keep the char roman

I can see that superscript would often / usually be used in
Mathematica to express "exponent", but I am puzzled by the effect that
the number of characters (H vs OH) has when C-^ is pressed

So:

1. Is this the behaviour that mathematica experts expect?
2. Is there a better way to do this do I get a roman H with a
superscript + in text mode. It may involve setting the style of the
lone H to non-italic, I guess, but that would be really boring!

cheers and thansk

Chris


  • Prev by Date: Re: Best syntax for derivative
  • Next by Date: Re: copy/paste of exponents
  • Previous by thread: Re: Chain Matrix
  • Next by thread: Re: Superscript in text