Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

You can use the cancel package (adding \usepackage{cancel} in the preamble of the document) that introduces the commands:

  • \cancel: draws a diagonal line (slash) through its argument.

  • \bcancel: uses the negative slope (a backslash).

  • \xcancel: draws an X (actually \cancel plus \bcancel).

  • \cancelto{〈value〉}{〈expression〉}: draws a diagonal arrow through the 〈expression〉, pointing to the 〈value〉.

For example, to get an arrow ending in a zero over parameter $\phi$, you would use $\cancelto{0}{\phi}$.

share|improve this answer
Thanks very much!! – 6005 Jul 17 '14 at 19:53
this doesn't work in a begin{equation} enviroment. Any solutions? – dodohjk Feb 24 at 16:46
a work around is changing to \ [ .. \ ] but it looses the numbering – dodohjk Feb 24 at 16:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.