
2 つのスライドと 3 本の線で構成されるフレームを作成したいと考えています。最初の線は常に透明で、2 番目の線は最初のスライドでは透明ですが、2 番目のスライドでは透明で、3 番目の線は常に透明である必要があります。すべてのスライドで 3 番目の線を透明にする方法はありますか?
\setbeamercovered{transparent}
次のコマンドを使用しています:
\documentclass{beamer}
\begin{document}
\setbeamercovered{transparent}
\begin{frame}
Always clear.
\onslide<2>{Transparent on slide 1, clear on slide 2.}
Always transparent.
\end{frame}
\end{document}
答え1
おそらく最もエレガントな解決策ではありませんが、3 行目のテキストの色を手動で変更できます。
normal text.fg
は通常のテキストのデフォルトのテキスト色、は背景色です。 マニュアルbg
の定義に従って、これら 2 つの色を混合しました。transparent
beamer
\documentclass{beamer}
\setbeamercovered{transparent}
\begin{document}
\begin{frame}
Always clear.
\onslide<2>{Transparent on frame 1, clear on frame 2.}
\textcolor{bg!85!normal text.fg}{Always transparent.}
\end{frame}
\end{document}