I have a slide that is produced by the following codes:
\begin{frame}[plain]
\begin{itemize}
\item Current work 0
\item Future works 1
\item Future works 2
\begin{center}
\includegraphics[scale=0.35]{xxx.pdf}
\end{center}
\end{itemize}
\end{frame}
Now I want to display the first item "Current work 0" and the graphics xxx.pdf
at the same time, while grey out the two "Future works". Then on the next slide I want to display the two "Future works" items and grey out "Current works" and the graphics. Is there any way to achieve that?
Best Answer
The following MWE provides
\hidecontent[<transparency>]{<stuff>}
that hides<stuff>
with a white transparent box. Optional transparency is set as<transparency>
(provided by Heiko'stransparent
package); default is0.25
or 25%:beamer
doesn't adequately handle hiding of graphics, hence the use of\hidecontent
. This works well with rectangular content. Other content (textual, for example), is best dealt with bybeamer
itself.