Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Superscript in text

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96482] Re: Superscript in text
  • From: Helen Read <hpr at together.net>
  • Date: Sat, 14 Feb 2009 03:12:01 -0500 (EST)
  • References: <gn3c3a$q8f$1@smc.vnet.net>

caw wrote:
> 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!

You can disable the auto-italics.

Option Inspector -> Global Preferences -> Cell Options -> New Cell Defaults

Then set the DefaultInlineFormatType to "DefaultInputInlineFormatType".

--
Helen Read
University of Vermont


  • Prev by Date: Re: Default Input / Output and TraditionalForm
  • Next by Date: Re: Typesetting bug
  • Previous by thread: Superscript in text
  • Next by thread: Re: New free introductory book on Mathematica programming, and a