[Tex/LaTex] Long Squiggly Arrows in LaTeX

arrows

Is there some way for me to get long squiggly arrows of length comparable to \longrightarrow or \longmapsto in LaTeX?

Best Answer

Well, if you don't mind using Xy-pic, you can type

\documentclass[12pt]{article}
\usepackage[cmtip,all]{xy}
\newcommand{\longsquiggly}{\xymatrix{{}\ar@{~>}[r]&{}}}
\begin{document}
\thispagestyle{empty}

$X \longrightarrow Y$

$X \longmapsto Y$

$X \longsquiggly Y$

$X \xymatrix@C=1.5em{{}\ar@{~>}[r]&{}} Y$

\end{document}

and it will give you

enter image description here

Related Question