Putting x^2 will give you $${{\mathtt{x}}}^{{\mathtt{2}}}$$. On Windows computers, to type ^, hold Shift and press 6 at the same time.
Putting x^2 will give you $${{\mathtt{x}}}^{{\mathtt{2}}}$$. On Windows computers, to type ^, hold Shift and press 6 at the same time.