superscript

\($x^2\)$ or \($x^3\)$ is \(x^2\) or \(x^3\)

» Mathematical Typing