Crossing out arrows

Is there a command/package that allows one to cross out arrows? I'm picturing something like an "X" over the $\to$ symbol. I am aware of the ulem package, which I think allows you to cross out text with a horizontal line, but that doesn't seem to work as well over arrows.

-

Most mathematical symbols allow negation via the \not prefix. For example, consider the look of

f(x)\not=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\not\to\mathcal{A}


There is also centernot which looks similar to \not= in the above case, yet different (perhaps not-so-good) from \not\to.

Alternatively, Scott Pakin's Comprehensive Symbol List has a vast amount of mathematical symbols and their associated fonts/package inclusions.

-
Hm, that's not exactly what I was looking for, but it seems like an easy & sufficient alternative. Thanks! – user3129 Aug 2 '11 at 18:16

Have you tried the cancel package:

\usepackage{cancel}
...
\cancel{text}


You should also see the solutions on How do you superimpose two symbols over each other?, and the solution to Diagonal strikeout starting too low and ending too high.

Another option is something like $\mathrlap{\to}\times$. If you add \usepackage{xcolor} then $\mathrlap{\to}{\textcolor{red}\times}$ might be a better option.

-
Hm, what package do you need to use the $\mathrlap$ tag? Is that part of "mathtools" (judging from the link you referenced)? – user3129 Aug 2 '11 at 18:16
Yes, the mathtools package provides \mathrlap, \mathclap and \mathllap. – Werner Aug 2 '11 at 18:23