Beamer:将框架拆分为多张幻灯片并隐藏讲义中的不透明元素

Beamer:将框架拆分为多张幻灯片并隐藏讲义中的不透明元素

我有一张投影仪幻灯片,其中的项目会显示出来,然后使用叠加层变为不透明。一些元素会隐藏起来。使用handout模式时,我想为框架创建两张幻灯片。问题是,对于讲义模式,我希望不透明的项目变得不可见。

在本 MWE 中,我演示了基本问题。随着幻灯片的进展,每个项目都变成灰色。随着幻灯片的进展,嵌套项目变得不可见。

\documentclass{beamer}
\setbeamercovered{transparent}
\setbeamercovered{again covered={\opaqueness<1->{35}}}

\begin{document}

\begin{frame}
\frametitle{Split into two slides for handout}

\begin{enumerate}

    \item<+|handout:1> First item, becomes grey when covered again, shows in first handout slide, want to disappear completely in second handout slide
    \begin{itemize}
        \item<only@.|handout:1> Only shows while first item is uncovered, and in first handout slide
    \end{itemize}
    \item<+|handout:1> Second item, becomes grey when covered, shows in first handout slide, want to disappear completely in second handout slide
    \begin{itemize}
        \item<only@.|handout:1> Only shows while second item is uncovered, and in first handout slide
    \end{itemize}
    \item<+|handout:2> Third item, shows in second handout slide
    \begin{itemize}
        \item<only@.|handout:2> Shows along with third item, and in handout slide
    \end{itemize}

\end{enumerate}

\end{frame}

\end{document}

现在,使用该handout选项进行比较:

\documentclass[handout]{beamer}
\setbeamercovered{transparent}
\setbeamercovered{again covered={\opaqueness<1->{35}}}

\begin{document}

\begin{frame}
\frametitle{Split into two slides for handout}

\begin{enumerate}

    \item<+|handout:1> First item, becomes grey when covered again, shows in first handout slide, want to disappear completely in second handout slide
    \begin{itemize}
        \item<only@.|handout:1> Only shows while first item is uncovered, and in first handout slide
    \end{itemize}
    \item<+|handout:1> Second item, becomes grey when covered, shows in first handout slide, want to disappear completely in second handout slide
    \begin{itemize}
        \item<only@.|handout:1> Only shows while second item is uncovered, and in first handout slide
    \end{itemize}
    \item<+|handout:2> Third item, shows in second handout slide
    \begin{itemize}
        \item<only@.|handout:2> Shows along with third item, and in handout slide
    \end{itemize}

\end{enumerate}

\end{frame}

\end{document}

不处于模式时,一切都按预期工作handout。但是,我希望在处于模式时,项目 1 和 2 在幻灯片 2 上隐藏,并且不占用任何空间handout。现在,在处于handout模式的第二张幻灯片上,前两个项目只是灰色的。

答案1

您可以使用handout:only@1仅在讲义模式的第一个覆盖上显示以下项目:

\documentclass[handout]{beamer}

\setbeamercovered{transparent}
\setbeamercovered{again covered={\opaqueness<1->{35}}}

\begin{document}

\begin{frame}
\frametitle{Split into two slides for handout}

\begin{enumerate}

    \item<+|handout:only@1> First item, becomes grey when covered again, shows in first handout slide, want to disappear completely in second handout slide
    \begin{itemize}
        \item<only@.|handout:1> Only shows while first item is uncovered, and in first handout slide
    \end{itemize}
    \item<+|handout:only@1> Second item, becomes grey when covered, shows in first handout slide, want to disappear completely in second handout slide
    \begin{itemize}
        \item<only@.|handout:1> Only shows while second item is uncovered, and in first handout slide
    \end{itemize}
    \item<+|handout:2> Third item, shows in second handout slide
    \begin{itemize}
        \item<only@.|handout:2> Shows along with third item, and in handout slide
    \end{itemize}

\end{enumerate}

\end{frame}

\end{document}

在此处输入图片描述

相关内容