Creating superscripts and subscripts in text objects