[Tex/LaTex] How to use a circle as a math accent (larger than \mathring)

math-modepositioningsymbols

To denote the interior of a set, I'd like to have a command \interior. Now, as one can learn from this post, one possibility is to use \mathring. This is a neat command, but it produces a circle that to my taste is too small for the purpose. Of course one can experiment with \overset{\circ}{...}, but this way I had difficulties getting satisfactory vertical and in particular horizontal positioning of the \circ. An example:

$\mathring{I}\ \mathring{J}\ \overset{\circ}{I}\ \overset{\circ}{J}$

yields alt text .

If one has a close look then one sees that the \circ over the J should be moved to the right more than the \circ over the J! Is there a way to obtain the same nice automatic positioning as with mathring?

Best Answer

You can use \accentset from the accents package:

$ \mathring{I}\ \mathring{J}\ \accentset{\circ}{I}\ \accentset{\circ}{J} $

example