# Too much spacing after exponent

I was trying to improve the visual on a double exponant (text associated to a tilde) and found the following solution online. The problem is that the spacing after seems a bit odd, any help would be appreciated!

\documentclass[10pt,a4paper]{article}
\begin{document}
The space after $\widetilde{G\mkern 0mu}^{\scriptscriptstyle def}$ is too large.
\end{document}

\end{document}

• Thank you for responding but I like the solution of @frougon better, the ''def'''particle refers to the tilde not to G that is why I used the command initially posted. Apr 5, 2020 at 22:45
• @WrabbitW - You're perfectly free to reinsert \mkern0mu`. It doesn't affect the horizontal spacing at all.
– Mico
Apr 5, 2020 at 22:46
• Oh I see, the ''def'' particle is much nicer with this. I will then combine the two solutions. Thank you! Apr 5, 2020 at 22:59