In an answer to a previous question, it is explained that
\xrightarrow{\sim}
will produce an arrow pointed to the right with the \sim
symbol above it (e.g., to indicate that a map is an isomorphism).
However, I'm not satisfied with the spacing of this symbol, as it appears too high above the arrow:
Is there a way to move it down? Potentially the arrow would have to be widened a little, to prevent \sim
from touching the arrowhead.
\xrightarrow{\,\raisebox{-0.4ex}{$\sim$}\,}
.\raisebox{-.4ex}[0ex][0ex]{$\sim$}