I am trying to strikeout an entire flalign block. This post shows how to strikeout an aligned block using the cancel package, but I'm not able to get it to work for the flalign environment. Any ideas how to get this to work without using tikz?
\documentclass{article}
\usepackage{amsmath}
\usepackage[makeroom]{cancel}
\begin{document}
\begin{equation*}
\cancel{
\begin{aligned}
f(x) &= \sin(x) \\
g(x) &= \cos(x)
\end{aligned}
}
\end{equation*}
I want to strikeout this:
\begin{flalign*}
f(x) &= \sin(x) && \\
g(x) &= \cos(x) &&
\end{flalign*}
\end{document}



\makeatletter.@HenriMenke The post on beginners accepting poor answer choices was interesting. I have been writing LaTeX for a while, but I feel that there is so much I don't know. I was looking something up in Lamport's LaTeX book a while back, and was surprised to find that I have not been using periods correctly in some situations.
– Jeff Apr 28 '18 at 20:46\makeatletter? If this is such a blocker for you, I can rewrite my answer without it. – Henri Menke Apr 28 '18 at 23:56makeatletter. It's just a personal preference, and I can't really give good reason why. – Jeff Apr 29 '18 at 03:41@is really meant to prevent random users from overwriting important macros. But as Henri stressed this is not essential for his proposal. What I do not like about my resurrected minipage answer is that one has to specify the width. I am actually a bit less concerned about the page breaks since you most likely won't cross out some equation block that goes over more than one pages. – Apr 29 '18 at 03:55overfullcomplaints, you may not want to use it in that way.) – Apr 30 '18 at 02:54