TransWikia.com

Crossing out arrows

TeX - LaTeX Asked by user3129 on February 1, 2021

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.

3 Answers

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.

Answered by Peter Grill on February 1, 2021

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

f(x)not=frac{-bpmsqrt{b^2-4ac}}{2a}nottomathcal{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 notto.

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

Answered by Werner on February 1, 2021

Found via detexify:

usepackage{ amssymb }
nrightarrow

Answered by cjlovering on February 1, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP