Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers 2

up vote 5 down vote accepted

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.

share|improve this answer
    
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
add comment

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.