20

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.

azetina
  • 28,884
user3129
  • 493

3 Answers3

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}

Using \not to negate mathematical symbols

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
4

Found via detexify:

\usepackage{ amssymb }
\nrightarrow