Multiline hidden text with align environment [duplicate]

Is there a way to use >! for hidden lines with the \begin{align*} ... \end{align*} environment? I can't seem to get it to work. Any workarounds?

marked as duplicate by Daniel FischerApr 29 '16 at 14:32

• Or did you want to hide single lines within an align environment? – Daniel Fischer Apr 27 '16 at 19:05
• That's not what I had in mind, but if you know how, I'd be interested to learn – Jon Warneke Apr 27 '16 at 19:09
• No idea how one could do that. Don't know if that's even possible. – Daniel Fischer Apr 27 '16 at 19:11
• Please use spoilers very sparingly. – quid Apr 27 '16 at 19:14
• @quid, what's your reasoning? (I'm not necessarily disagreeing, just wondering.) – Jon Warneke Apr 27 '16 at 19:19
• It makes it more inconvenient to get access to information. This is counter the purpose of the site. – quid Apr 27 '16 at 19:20
• – Martin Sleziak Apr 28 '16 at 6:39

>! \begin{align*} 0 &= 1^2 - 1^3 \\ 4 + 1 &= 5 \\ 6 - 7 &= -1\end{align*} produces