Subscripts and superscripts are
obtained with the words
sub
and
sup.
x sup 2 + y sub k
gives
EQN
takes care of all the size changes and vertical motions
needed to make the output look right.
The words
sub
and
sup
must be surrounded by spaces;
x sub2
will give you
instead of .
Furthermore, don't forget to leave a space
(or a tilde, etc.)
to mark the end of a subscript or superscript.
A common error is to say
something like
y = (x sup 2)+1
which causes
instead of the intended
Subscripted subscripts and superscripted superscripts
also work:
x sub i sub 1
is
A subscript and superscript on the same thing
are printed one above the other
if the subscript comes
first:
x sub i sup 2
is
Other than this special case, sub and sup group to the right, so x sup y sub z means , not .