Tagged Questions

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

learn more… | top users | synonyms

0
votes
0answers
29 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
31 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 ...
6
votes
3answers
306 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
72 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
173 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
84 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
120 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
191 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
477 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
135 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
469 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 ...
7
votes
1answer
919 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
267 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
145 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 ...
13
votes
1answer
13k 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
744 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 ...
15
votes
4answers
2k 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?
34
votes
1answer
13k 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
1k 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
880 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 ...
25
votes
1answer
5k 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
6k 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 ...