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.


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}$.

  • 2
    this doesn't work in a begin{equation} enviroment. Any solutions? – dodohjk Feb 24 '15 at 16:46
  • 1
    a work around is changing to \ [ .. \ ] but it looses the numbering – dodohjk Feb 24 '15 at 16:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy