Subscripts and superscripts are
obtained with the words
x sup 2 + y sub k
takes care of all the size changes and vertical motions
needed to make the output look right.
must be surrounded by spaces;
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
y = (x sup 2)+1
instead of the intended
Subscripted subscripts and superscripted superscripts
x sub i sub 1
A subscript and superscript on the same thing
are printed one above the other
if the subscript comes
x sub i sup 2
Other than this special case, sub and sup group to the right, so x sup y sub z means , not .