# Thread: symbol for cancellations

1. ## symbol for cancellations

Hey there. What is the Latex code for cancellations?. Suppose we posted a

multiplication or what not and wanted to show the strikethroughs that show

cancellations, what is the best way. I used to use \sout but that does not

work. I know there is a diagonal one and a horizontal one. I like the diagonal

because it shows up best. I can not remember what it is and can not

find it anywhere.

2. Hello, galactus!

I think you're referring to the \not command.

. . \not a produces: $\not a$

Someone showed me the \rlap command
. . which allows us to overwrite.

Examples

. . \rlap{///}2ab gives us: . $\rlap{///}2ab$

. . \rlap{/////}(x-y) gives us: . $\rlap{/////}x-y$

I learned to add color to the cancelling:

. . {\color{red} \rlap{///} } 2ab gives us: . ${\color{red}\rlap{///}}2ab$

. . . ${\color{red}\rlap{TRUE}}{\color{blue}\;false}$