From: Nasser M. Abbasi on
Version 7

I wanted to write something like Superscript[Subscript[x, 1], 2] but have
the "2" and the "1" appear on the symbol x without one being pushed forward
more than the other.

This is trivial to do in latex, but gave up trying to do it in Mathematica.

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 looked the all the Palettes also that come with Mathematica 7, but do not
see such a pattern to use?

thanks,
--Nasser






From: Nasser M. Abbasi on

>
> 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



From: Richard Hofler on
Hi Nasser,

You'll likely get a number of replies with the same answer: use one of =
the palettes in Mathematica 7.

For example,

(1) Basic Math Assistant palette, Typesetting, click on the first tab =
from the left. You'll see a button that does what you want.
(2) Writing Assistant palette: same steps

You can also do the same thing with the keyboard.

x, Ctrl-6, 2, Ctrl-5, 1

I hope this helps.

Richard Hofler

________________________________

From: Nasser M. Abbasi [mailto:nma(a)12000.org]
Sent: Sat 10/24/2009 2:38 AM
Subject: How to format Superscript and Subscript for a symbol =
to the same vertical level??



Version 7

I wanted to write something like Superscript[Subscript[x, 1], 2] but =
have
the "2" and the "1" appear on the symbol x without one being pushed =
forward
more than the other.

This is trivial to do in latex, but gave up trying to do it in =
Mathematica.

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 looked the all the Palettes also that come with Mathematica 7, but do =
not
see such a pattern to use?

thanks,
--Nasser


From: Nasser M. Abbasi on
How to format Superscript and Subscript for a symbol to the =
same vertical level??Thanks to all the replies.

And yes, it is on the palette as well.

Do not know how I overlooked it. I am but I am going to talk to my eye =
doctor right now.

--Nasser


From: Bill Rowe on
On 10/24/09 at 2:38 AM, nma(a)12000.org (Nasser M. Abbasi) wrote:

>Version 7

>I wanted to write something like Superscript[Subscript[x, 1], 2]
>but have the "2" and the "1" appear on the symbol x without one
>being pushed forward more than the other.

>This is trivial to do in latex, but gave up trying to do it in
>Mathematica.

>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 looked the all the Palettes also that come with Mathematica 7, but
>do not see such a pattern to use?

With version 7.01 on Mac OS 10.6, the first entry in the
Palettes menu is Basic Math Assistant. Selecting this and
scrolling down to the Typesetting entry, the third pattern on
the first row seems to be what you are asking for.