如何使某些项目变暗,而使其他项目在框架中保持可见?

如何使某些项目变暗,而使其他项目在框架中保持可见?

我想做这样的事:

\begin{frame}
\begin{itemize}
\item First point, dim this on the next slide.
\item Second point, keep this as is on next slide.
\item Third point, dim this on the next slide.
\item Fourth point, keep this as is on next slide.
\end{itemize}
\end{frame}

因此,我想在第一张幻灯片上显示所有项目,并在下一张幻灯片上仅关注其中的一些项目,其余项目则变灰。

我已看过 beamer 用户指南并查过互联网,但没有找到任何结果。

感谢您的帮助。

答案1

您可以为每个对象设置覆盖规范,\item<spec>以便它们可以显示或透明:

在此处输入图片描述

\documentclass{beamer}
\setbeamercovered{transparent}% Dim out "inactive" elements
\begin{document}

\begin{frame}
  \begin{itemize}
    \item<1,3> First point, dim this on the next slide.     % Slide 1 + 3
    \item<1,4> Second point, keep this as is on next slide. % Slide 1 + 4
    \item<1,2> Third point, dim this on the next slide.     % Slide 1 + 2
    \item<1,5> Fourth point, keep this as is on next slide. % Slide 1 + 5
  \end{itemize}
\end{frame}

\end{document}

相关内容