# Math in the Document title [duplicate]

I wanted to include the following into my title: $\mathbb{R^{2}}$ and expected the following output:

but I instead keep getting this:

If I copy the weird symbol in the superscript over R, it gives me a "2" in the notepad, but doesn't render it properly. How can I fix it?

## marked as duplicate by Andrew, user31729, Stefan Pinnow, Mensch, barbara beetonNov 28 '17 at 18:14

• Welcome to TeX.SE! The exponent should be outside \mathbb: \mathbb{R}^2. Similar to this problem. – campa Nov 28 '17 at 16:34

\documentclass{article}
\title{$\mathbb{R}^2$}