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

MathGroup Archive 2009

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

Search the Archive

Re: How to format Superscript and Subscript for a symbol to the same vertical level??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104218] Re: How to format Superscript and Subscript for a symbol to the same vertical level??
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Sat, 24 Oct 2009 02:38:36 -0400 (EDT)
  • Reply-to: "Nasser M. Abbasi" <nma at 12000.org>

>
> I am actually trying to use Mathematica more to type set some math inside 
> a Text cell, and the above is one problem I find.  I actually use the 
> keyboard and type Ctrl9 to open a math cell inside the text cell and type
>
>            x Ctrl ^2 spacebar Ctrl _1
>
> and I get
>
>    2
> (x   )
>       1
>
> when I want
>
>
>  2
> x
>  1
>

I found a way, but an awkward way to do the above. Here are the steps

Ctrl-9 to open math cell (I am inside a text cell) then typed

x Ctrl[6] 2    (this is the same as Ctrl^2 for superscript

now I selected x again (did this to prevent the parenthesis from being 
created) and typed Ctrl[-] 1    for subscript

But now the "2" and "1" are not on the same level, so now I selected the "2" 
and typed Alt[Left] few times until it is aligned over the "1".   Alt[left] 
is Nudge Left (use the arrow key)

Ok, the output is ok, but too many steps to do, and I think Latex looks 
little better?  Here is screen shot for Mathematica and for latex to compare

http://12000.org/tmp/formating_oct_22_2009/Mathematica.PNG
http://12000.org/tmp/formating_oct_22_2009/latex.PNG

I hope there still a way to do this easier in Mathematica.

--Nasser




  • Prev by Date: Re: Using Mathematica 5.2 and 7.01 with separate settings
  • Next by Date: Re: How to print/display symbolic expressions from inside a Module
  • Previous by thread: RE: How to format Superscript and Subscript for a symbol to the same vertical level??
  • Next by thread: Re: Re: How to format Superscript and Subscript for a