我环顾四周,似乎没有找到我想要的东西,这是最接近的:Beamer \pause 灰色
我想要的是(可能使用 setbeamcovered)有几张幻灯片(所以我需要在这些幻灯片之后恢复它),以便 \pause 不会显示下一个项目直到它显示出来,但是当该项目显示出来时,它会变灰一切之前。
使用 setbeamcovered 可以实现吗?
这也有助于:
使用 \only - 但它会使项目完全消失而不是变灰。
梅威瑟:
\documentclass[sansserif,mathserif]{beamer}
\setbeamercovered{%
still covered={\opaqueness<1->{10}},
again covered={\opaqueness<1->{10}}}
\begin{document}
\begin{frame}{slide title}
\only<1> {
I should appear only in the beginning, and then grey myself out. But for some reason I disappear after a click!
}
\pause
\only<2> {
I should appear only in the middle, and then grey myself out. I don't show at all before the click. I also disappear - not good.
}
\pause
\only<3> {
I don't appear until second click, and everything above me is greyed out
}
\end{frame}
%% any changes should be restored here
\end{document}
答案1
\uncover
您可以使用而不是来获得所需的效果\only
:
\documentclass{beamer}
\usefonttheme[onlymath]{serif}
\setbeamercovered{%
still covered={\opaqueness<1->{10}},
again covered={\opaqueness<1->{10}}}
\begin{document}
\begin{frame}{slide title}
\uncover<1> {
I should appear only in the beginning, and then grey myself out. But for some reason I disappear after a click!
}
\pause
\uncover<2> {
I should appear only in the middle, and then grey myself out. I don't show at all before the click. I also disappear - not good.
}
\pause
\uncover<3> {
I don't appear until second click, and everything above me is greyed out
}
\end{frame}
%% any changes should be restored here
\end{document}