How can I get the \xrightarrow?

I attempted to use limits(->)^("some text") to emulate \xrightarrow in LaTeX, but the arrow’s length fails to scale with the width of the overlying text. How can I fix this?

Hi, you can use stretch for it.

1 Like