# Tagged Questions

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

51 views

### \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. \$...
59 views

### 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?
102 views

### Active ! Character Hangs within TikZ

The MWE below makes the ! active in math mode using the solution from Make Characters Active via Macro in Math Mode and uses the tikz \hcancel via Diagonal strikeout starting too low and ending too ...
123 views

### Cancel out factorial fractions

I have the following fraction: How can I use a line and cross off the 3, 2, and 1s in the numerator and denominator? I need a line crossing off the 3s in the numerator and denominator - one line. ...
50 views

### How do I strike through the first text on a line using the cancel module?

I'm new to latex so please be gentle. I installed cancel using this command: tlmgr install cancel Then I created a test file called test.tex with the following content: \documentclass[12pt]{...
112 views

### 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 number. ...
73 views

### cancel line through a tikz picture in the background

I have defined a command \kr to draw a small circle to use it as a letter. Later I want to cancel out a circle. But the cancel line is in the background, see picture. How can I make the cancel line be ...
118 views

### Equation overlapping with body text

In the MWE below, my equation is clashing with the text of the body of the document and also the header. How can I get the equation to not clash/overlap with the document text? Here is my code: \...
175 views

### Make “cancel line” thicker

In the MWE below, I wanted: to make the cancel line with arrow slightly thicker and have the arrow end before the vertical }. Here is my code: \documentclass{article} \usepackage{amsmath} \...
98 views

### Packages siunitx and cancel not working together [closed]

So I tried to use the MWE in the answer to this question. However my output looks identical to the original post's problem. I checked using \listfiles and my version of siunitx has cancel support. ...
83 views

### 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 ...
129 views

### How to write like that picture [duplicate]

I have a problem in latex. I can't write like that picture. how to write like that. Please.
283 views

### Is it possible to strikeout a whole equation or paragraph?

I have a document in which I want to strikeout whole paragraphs including all equation and eqnarray environments. Available options such as sout (from ulem) works on paragraph but not in equations. ...
160 views

### 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
151 views

### Tikz variant of cancel to

I found this helpful to quelling my issue with the cancel packages arrows but displaymath seems to break it. The only part of the linked code I am using is \usepackage{tikz} \usepackage{relsize} \...
143 views

### 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{...
387 views

### Cancel maths expression with a down arrow

The following solution to the question where soome maths text is to be cancelled out makes use of the cancel package. There the macro \cancelto produces an arrow from bottom left to top right. It ...
36 views

### Cancelling in a Fraction [duplicate]

I am trying to create a step-by-step solution sheet for my homework and have discovered that I need to use "cancel" things in a fraction. For example, like in the following picture I would like to ...
85 views

### 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 ...
568 views

### 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 ...
158 views

### How can I cancel only the navigation bar or title in a specified frame

My MWE is \documentclass[14pt]{beamer}% http://ctan.org/pkg/beamer \let\Tiny\tiny% http://tex.stackexchange.com/q/58087/5764 \usetheme{Berkeley} \makeatletter \beamer@headheight=1.5\baselineskip \...
246 views

### In beamer, how to temporarily cancel the frametitle

I have a image in this frame and I want to show it without any other item. Just like below. And my MWE is \documentclass[14pt]{beamer}% http://ctan.org/pkg/beamer \let\Tiny\tiny% http://tex....
126 views

### using \cancel within a mhchem command italicizes text (how to prevent?)

The text being cancelled is italicized when the following code is printed. How do I prevent this? Here is a minimum working example: \documentclass[11pt, oneside]{article} \usepackage[version=...
191 views

### Anomalous bracket sizes when using the cancel package

I have been happily using the cancel package that allows to cross out parts of mathematical formulas for some time now. However, today I noticed a very strange behaviour in the size of brackets ...
240 views

### How to adjust the positioning of \cancel strikethrough?

After loading the package cancel the command \cancel{text} worked not so exactly, because the slash strikethrough looks so ugly. The output is shown below: Is it a LaTeX error or PDF error?
6k views

### How to use \cancel command [closed]

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: \...
215 views

### How to set the width of \cancel

I have 2 TikZ nodes with fixed text width: \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepackage{cancel} \begin{document} \begin{tikzpicture} \node[text width = 3cm] (1){...
852 views

### problem packages diagbox and cancel

When using cancel package to cross out something and the package diagbox is also loaded the line does not appear in the proper location. When diagbox is not loaded everything works ok. However, I need ...
3k views

### cancel with different colors

I have equations with a lot of terms and I would like to be able to specify the reason of the cancelation of those terms using a color code (for example : red if the term is null, blue if it cancels ...
515 views

### Siunitx and cancel package

I want to symbolically cancel out units using the siunitx package. To do so I tried the cancel package as in the following minimal example: \documentclass{article} \usepackage{amsmath} \usepackage[...
169 views

### \cancel does not work with emf

In OOoLaTeX for OpenOffice, when I use \cancel in .png format, it works, but it does not work for .emf format. For the .emf case, it just puts a weird symbol on the letter. Any idea? Edit 1: In .emf ...
40k views

### How to write crossed-out math in LaTeX? [duplicate]

Possible Duplicate: Draw a diagonal arrow across an expression in a formula to show that it vanishes As you might know from my other questions, I am still a newbie at LaTeX, so please don't ...
1k views

### How can I strikethrough a character in an equation?

I'm trying to create an equation where the letter "I" has a horizontal line through it. The only name I know for this action is "strikethrough" but I'm not sure if this would be correct when dealing ...
4k views

### Draw a line through one column of a matrix

I'd like to "cancel" (draw a line through) a column of a matrix (using \begin{pmatrix}..\end{pmatrix}). How can I do this?
28k views

### How to strike through obliquely, e.g. to indicate cancellation?

How can I strike through an expression (e.g. "2x") obliquely, e.g. from bottom left to top right, so as to indicate cancellation? With the \sout command from the ulem package, I can only strike ...
2k views

### MiKTeX, TeXnicCenter and “cancel” package - errors [closed]

EDIT2: I answered it below. I had duplicate of my cancel.sty where my .tex file was. That made some troubles (obviously). EDIT: \documentclass[a4paper,11pt]{article} \usepackage[croatian]{babel} \...
1k views

### Latex - Beamer: Applies the \cancel command only a specified slides

In beamer, overlay specifications can be used to make certain text commands take effect at different times. For example, \alert<2> applies the alert command only on the second slide. Is there ...
2k views

### \cancel draws under thing being canceled

I'm trying to use \cancel from the cancel package to strike out some colored text but it is apparent that the diagonal line is drawn first so it doesn't do a very good job of canceling. Minimal ...