Similar to this question, I want to write some text above $\nrightarrow$
. This is what I could do:
\documentclass{article}
\usepackage{mathtools}
\usepackage{amssymb}
\begin{document}
$\nrightarrow$
$\nrightarrow^{\text{Hello}}$
\end{document}
As you can see, the text is not properly aligned.
So, I seek help in putting the text right on top.
Additionally, it would be appreciated to faciliate extending the arrow to fit the text.