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

learn more… | top users | synonyms

4
votes
3answers
65 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 ...
1
vote
1answer
99 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.
2
votes
1answer
94 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. ...
0
votes
0answers
43 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
2
votes
1answer
93 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} ...
3
votes
1answer
71 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} ...
5
votes
2answers
202 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 ...
0
votes
0answers
33 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 ...
5
votes
1answer
56 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 ...
7
votes
3answers
422 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 ...
4
votes
1answer
108 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 ...
7
votes
1answer
206 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% ...
4
votes
1answer
107 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} ...
3
votes
2answers
147 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 ...
1
vote
1answer
215 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?
4
votes
1answer
2k 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: ...
4
votes
2answers
170 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] ...
8
votes
1answer
674 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 ...
8
votes
1answer
2k 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 ...
11
votes
1answer
372 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} ...
0
votes
1answer
159 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 ...
17
votes
1answer
24k 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 ...
6
votes
1answer
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 ...
16
votes
4answers
3k 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?
38
votes
1answer
19k 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 ...
1
vote
3answers
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} ...
4
votes
1answer
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 ...
11
votes
1answer
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 ...
27
votes
1answer
8k views

Draw a diagonal arrow across an expression in a formula to show that it vanishes

I would like to find a way to cross out a term in a mathematical expression with a diagonal arrow pointing from lower left to upper right and with a little "zero" next to the pointy end of the arrow.
14
votes
5answers
7k views

Put a slash through a word

I would like to write a word with a slash through it, using LaTeX (in text, not in math mode). That is, I want a line from the lower-left corner of the word through the upper-right. Is there a nice ...