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.
Asked
Active
Viewed 4.1k times
20
3 Answers
19
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.
Werner
- 603,163
-
Hm, that's not exactly what I was looking for, but it seems like an easy & sufficient alternative. Thanks! – user3129 Aug 02 '11 at 18:16
4
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.
Peter Grill
- 223,288
-
Hm, what package do you need to use the $\mathrlap$ tag? Is that part of "mathtools" (judging from the link you referenced)? – user3129 Aug 02 '11 at 18:16
-
Yes, the
mathtoolspackage provides\mathrlap,\mathclapand\mathllap. – Werner Aug 02 '11 at 18:23