Select the text that you want to make superscript or subscript.
Do one of the following:
Press Ctrl+Shift+P to make the text superscript, and Ctrl+Shift+B to make the text subscript.