Questions tagged [cancel]

The cancel package is used to draw diagonal lines through words and symbols.

The cancel package is used to draw diagonal lines through ("cancel") words and symbols.

89 questions
33
votes
1 answer

How to use \cancel command

I want to use \cancel command in TeXnicCenter but it is giving error while using that.. Basically I want to show cancellation of 2 with 2, using \frac. Like: \frac{2}{2} but I want to show it like: \(\frac{\cancel{2}}{\cancel{2}}\). And I am unable…
Gurpreet
  • 423
8
votes
3 answers

Cancel (cross out) normal text in non-math mode

I want to cross out a letter. I found Draw a diagonal arrow across an expression in a formula to show that it vanishes but this works in mathmode only and mathmode changes the font. Is there a way to do the same without going to math mode? I need…
Stefan Müller
  • 6,901
  • 3
  • 29
  • 61
5
votes
1 answer

How can I write one number vertically above another?

I wonder if you can help me in how to place one number on top of another (vertically) just as I show in the following image. I appreciate too much any help.
Kami
  • 95
5
votes
1 answer

Vertical Spacing of Exponent when using \cancel in the Denominator of a Fraction

For some reason, using \cancel in the denominator of a fraction adds a certain height to the exponent (see minimal example below). Observe that it does not happen if the expression is in the numerator. Although the change is minimal, it becomes…
4
votes
2 answers

How to cross-out a number several times?

Hello. I want to be able to cross out a number several times (just like in the picture!) at least 3 times. How do i do that? And how do i make a circle around a number?
Pia
  • 43
4
votes
1 answer

cancel package: combine bcancel and cancelto (bcancelto?)

Is there a way to create a negative slope with the cancel package, but using \cancelto? i.e. I would like to combine the two commands so that I have a negative slope but with an arrow and…
yoki
  • 550
4
votes
2 answers

Cancel a superscript so that the cancel is not as large

I would like to have a "not asterisk" symbol. I try to do such a feature with the cancel package. My current favourite is: A^{\xcancel{\ast}} But the cancel sign goes down very far. I would like to restrict it to the superscript (but maybe let it…
Xu Wang
  • 1,239
3
votes
1 answer

Cancel circled text under circledsteps?

Given the following MWE: \documentclass{article} \usepackage{circledsteps} \usepackage{cancel} \begin{document} \(\odot, \cancel\odot\) \(\Circled{1}, \cancel\Circled{1}\) \end{document} How may one cancel \(\Circled{1}\) just as…
3
votes
1 answer

\cancel: double strike

Is it possible to generate multiple \cancel stripes? Say for instance I have $f(x,y) = 3x^2 +2xy +4y^2 - 3x^3 - 3x^2 - 2xy + 4xy^3$ and I want to cancel the 3x^2-term once and the 2xy-term twice. $f(x,y) = 3x^2 +2xy +4y^2 - 3x^3 - 3x^2 - 2xy +…
Werner
  • 179
3
votes
1 answer

Using cancelto in the cancel package but the arrow is wavy not straight

I used the cancel package today for the first time but the arrow isn't straight. Is this normal? \documentclass{article} \usepackage[makeroom]{cancel} \usepackage{mathtools} \begin{document} \begin{align*} L\{2\cos(3t)\}(s) & =…
dustin
  • 18,617
  • 23
  • 99
  • 204
2
votes
1 answer

Packages cancel and schulschriften_lin not working together?

When I use the "schulschriften_lin"-package, cancellation is no longer working (see MWE). \documentclass{article} \usepackage{amsmath} \usepackage{cancel} \usepackage{schulschriften_lin} % Lineaturen fuer Schulschriften \begin{document} \[ y =…
0
votes
1 answer

How to cancel powered number?

How to get the result circled in red? I tried 3^\cancel{4} but it doesn't work.
Simeon Simeonov
  • 819
  • 5
  • 11
0
votes
0 answers

Cancel command: color, verse, number of lines

I need a command like \cancel{} but with more '' options '': change the cancel color the number of the line that cancel the text compatible with math mode change the direction of the line