I'd like the environmnets align and align* in my beamer document to accept slide numbers. For instance, I'd like to be able to do something like this:
\documentclass{beamer}
\begin{document}
\begin{frame}
\begin{align}<2->
a &= b & c &= d
\end{align}
\end{frame}
\end{document}
The desired behavior here would be for the content in my align* environment to appear from the second slide onward. I suspect this is possible because environments like definition and block work in precisely this way.
My guess is that something like the following syntax should work
\renewenvironment<>{align}{????}{????}
\renewenvironment<>{align*}{????}{????}
However, I can't quite figure out what to write to achieve my desired result.
I suppose one could generalize my question to ask if any built-in environment could be renewed to work in this way.
beameroffers\newenvironment<>{⟨environment name⟩}[⟨argument number⟩][⟨default optional value⟩]{⟨begin text⟩}{⟨end text⟩}in order to create overlay-aware environments. It should however be noted, "that the implementation ofaligndoes wicked things" (see beamer manual page 24) See also section "23.4 Uncovering Tagged Formulas Piecewise" of thebeamermanual. – leandriis Jan 17 '21 at 09:53