The MWE
\documentclass{beamer}
\usepackage[english]{babel}
\usepackage{tcolorbox}
\begin{document}
\begin{frame}
\begin{tcolorbox}
A\pause B
\end{tcolorbox}
\begin{tcolorbox}
A\pause B
\end{tcolorbox}
\end{frame}
\end{document}
produces three slides: A-AB
, AB-A
, and AB-AB
, which is not what I would expect (A-
, AB-A
, and AB-AB
).
Here somebody advises not to use \pause
at all inside a tcolorbox
, but the manual does mention a beamer
skin, so I guess it must have support for beamer
. Is there a better way to do the above?
Best Answer
Using
\only
instead works, though it is a bit more work.