
我正在做一個包含章節和小節的投影演示,並想在某些時候(在某些小節之前)提醒觀眾大綱。我希望除我即將輸入的部分外,所有部分和小節均顯示為灰色。
目前,我正在使用這個:
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection,currentsubsection,hideothersubsections]
\end{frame}
但當前節的所有小節都採用正常字體,而不僅僅是當前的字體。我想指出我將要進入哪些小節,因此我希望其他小節變灰。
預先感謝您的建議。
答案1
答案就在手冊的第 10.5 節(新增目錄)。您可以使用下列選項為活動和非活動子部分指定不同的樣式subsectionstyle
:
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection,currentsubsection,hideothersubsections,subsectionstyle=show/shaded]
\end{frame}