I would like to use some kind of colored cancel lines to mark simplifications. The cancel package documentation reads:
If you use the color package, then you can declare
\renewcommand{\CancelColor}{<color_command>}and the cancellation marks will be printed in that color (e.g.
\blue). However if you are using color, I recommend lightly shaded blocks rather then diagonal arrows fro cancelling.
I guess the lightly shaded blocks are a good idea, how would I implement this? (What package should I use?)
MWE
\documentclass[10pt,a4paper]{article}
\usepackage{cancel}
\usepackage{xcolor}
\begin{document}
[ \frac{\cancel{a}b}{4\cancel{a}} ]
\renewcommand{\CancelColor}{\color{blue}}
[ \frac{\cancel{(a+4)}\cdot 3}{\cancel{a+4}} ]
\end{document}

\[...\]preferable to$$...$$? – Werner Oct 11 '17 at 16:29\[...\]untill someone said to me that$$...$$is more modern approach. Thanks for the link! – dietervdf Oct 11 '17 at 16:33