The `cancel` package is used to draw diagonal lines through words and symbols.
4
votes
1answer
71 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
58 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] ...
7
votes
1answer
96 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 ...
4
votes
1answer
52 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 ...
10
votes
1answer
141 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
111 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 ...
5
votes
1answer
309 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 ...
12
votes
4answers
1k 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?
1
vote
3answers
643 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
531 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 ...
10
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 ...
13
votes
5answers
4k 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 ...