我如何将投影仪覆盖设置为本地透明?

我如何将投影仪覆盖设置为本地透明?

我知道使用 将投影仪覆盖设置为全局透明\setbeamercovered{transparent}

如何让它只在某些幻灯片上起作用,而不是所有幻灯片?这是一个 MWE。

\documentclass{beamer}
\usetheme{Warsaw} 

\setbeamercovered{transparent} 

\begin{document}

\begin{frame}{Set beamer covered as transparent}
\begin{block}{block 1}
  block 1
\end{block}\pause
\begin{block}{block 2}
  block 2
\end{block}\pause
\begin{block}{block 3}
  block 3
\end{block}
\end{frame}

\begin{frame}{Not to set beamer covered as transparent}
\begin{block}{block 1}
  block 1
\end{block}\pause
\begin{block}{block 2}
  block 2
\end{block}\pause
\begin{block}{block 3}
  block 3
\end{block}
\end{frame}

\end{document}

答案1

有一些可能性。您可以将其设置在您希望它影响的帧的组中,或者您可以只使用第二个\setbeamercovered{}并将其更改为您希望其他幻灯片的行为。

\documentclass{beamer}
\usetheme{Warsaw} 

\begin{document}
{
\setbeamercovered{transparent} 
\begin{frame}
\frametitle{Set beamer covered as transparent}
\begin{block}{block 1}
  block 1
\end{block}\pause
\begin{block}{block 2}
  block 2
\end{block}\pause
\begin{block}{block 3}
  block 3
\end{block}
\end{frame}
}
\begin{frame}
\frametitle{Not to set beamer covered as transparent}
\begin{block}{block 1}
  block 1
\end{block}\pause
\begin{block}{block 2}
  block 2
\end{block}\pause
\begin{block}{block 3}
  block 3
\end{block}
\end{frame}

\end{document}

\documentclass{beamer}
\usetheme{Warsaw}

\begin{document}

\setbeamercovered{transparent} 
\begin{frame}
\frametitle{Set beamer covered as transparent}
\begin{block}{block 1}
  block 1
\end{block}\pause
\begin{block}{block 2}
  block 2
\end{block}\pause
\begin{block}{block 3}
  block 3
\end{block}
\end{frame}

\setbeamercovered{} 
\begin{frame}
\frametitle{Not to set beamer covered as transparent}
\begin{block}{block 1}
  block 1
\end{block}\pause
\begin{block}{block 2}
  block 2
\end{block}\pause
\begin{block}{block 3}
  block 3
\end{block}
\end{frame}

\end{document}

答案2

只需粘贴

\setbeamercovered{transparent} 

在您希望应用此设置的任何框架内,而不是在其他框架内。像这样;

\begin{frame}
\frametitle{Title}
\setbeamercovered{transparent}
### Content
\end{frame}

相关内容