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.
Asked
Active
Viewed 2.9k times
1 Answers
89
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\cancelplus\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}$.
-
2this doesn't work in a begin{equation} enviroment. Any solutions? – dodohjk Feb 24 '15 at 16:46
-
1a work around is changing to \ [ .. \ ] but it looses the numbering – dodohjk Feb 24 '15 at 16:47