Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

\documentclass{article}
\usepackage{color}
\usepackage{cancel}
\definecolor{purple}{rgb}{1.0,0.0,1.0}%
\begin{document}
\begin{tabular}{l|cc}
&\textrm{Text}&\textrm{Math}\\\hline
plain
& stuff \cancel{stuff} stuff
& $ a + \cancel{b-c} +d$ \\
back
& stuff \bcancel{stuff} stuff
& $ a + \bcancel{b-c} +d$ \\
cross
& stuff \xcancel{stuff} stuff
& $ a + \xcancel{b-c} +d$ \\
cancelto
&
& $ a + \cancelto{\phi}{b-c} +d$ \\
purple plain
& \def\CancelColor{\color{purple}} stuff \cancel{stuff} stuff
& \def\CancelColor{\color{purple}} $ a + \cancel{b-c} +d$ \\
red back
& \def\CancelColor{\color{red}} stuff \bcancel{stuff} stuff
& \def\CancelColor{\color{red}} $ a + \bcancel{b-c} +d$ \\
blue cross
& \def\CancelColor{\color{blue}} stuff \xcancel{stuff} stuff
& \def\CancelColor{\color{blue}} $ a + \xcancel{b-c} +d$ \\
green cancelto
&
& \def\CancelColor{\color{green}} $ a + \cancelto{\phi}{b-c} +d$ \\
\end{tabular}
\end{document}