I want to denote the interior of $D^3$, so I use $\overset{\circ}{D^3}$. This looks like this:
However I find this kind of ugly, and would rather have the circ just above the $D$, but then $\overset{\circ}{D}^3$ is giving even stranger things, like this:
Is there a way to have what I want? This would be basically the \circ as in the second image, and the 3 as in the first.



\mathring{D}^3– egreg May 08 '16 at 14:05