Added superscript and subscript adjustments.