![我如何将投影仪覆盖设置为本地透明?](https://linux22.com/image/354790/%E6%88%91%E5%A6%82%E4%BD%95%E5%B0%86%E6%8A%95%E5%BD%B1%E4%BB%AA%E8%A6%86%E7%9B%96%E8%AE%BE%E7%BD%AE%E4%B8%BA%E6%9C%AC%E5%9C%B0%E9%80%8F%E6%98%8E%EF%BC%9F.png)
我知道使用 将投影仪覆盖设置为全局透明\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}