9

I want to denote the interior of $D^3$, so I use $\overset{\circ}{D^3}$. This looks like this:

enter image description here

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:

enter image description here

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.

1 Answers1

11

You should use \mathring{...}, rather than \overset{\circ}{...}.

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\[
\mathring{D^{3}}
\qquad
\mathring{D}^{3}
\]

\end{document}

The amsmath package is not really necessary for this, but it's recommended for any math document.

enter image description here

egreg
  • 1,121,712