This question already has an answer here:
I'd like to write a formula where there is a
$\smile$ underneath the exponent.
Like in this example which works fine:
But when I want to replace the blabla by a mathematical symbol like
$\omega$ it does not work.