I have problems using \pause
inside a tcolorbox
with the option \setbeamercovered{transparent}
. Doing so results in the order of uncovering to be messed up. For instance, when using an itemize
inside a tcolorbox
, the box containing the items gets revealed only at the very end.
Is there a way to fix this?
MWE:
\documentclass{beamer}
\usepackage{tcolorbox}
\setbeamercovered{transparent}
\begin{document}
\begin{frame}
\begin{tcolorbox}
\begin{itemize}
\item A first item.\pause
\item A second item.\pause
\end{itemize}
\end{tcolorbox}
\begin{tcolorbox}
Another box \pause with a pause.
\end{tcolorbox}
\end{frame}
\end{document}
Best Answer
Just
\uncover
the covered.Edit
In response to the comment asking additionally for uncover list items:
Although
\pause
was intended to work inside environments, from the manual: "However, taking this to extremes and using \pause deeply within a nested environment may not have the desired result." So, better think on\pause
as just a "stop reading" that could avoid read the end of the environments in the first slide, and remember that are several others commands for slide overlays. To uncover sequentially items of a list, you can:Or...
Or simpler:
About the messed aspect of commands with arguments ... "c'est la vie"
¯\_(ツ)_/¯