
在每個部分的開頭我想新增一個目錄沒有各小節和目錄和各小節。我能做些什麼?
答案1
您可以使用 的可選參數\tableofcontents
和\AtBeginSection
- 命令來實現此目的。
您可以像這樣定義部分和子部分的樣式:
sectionstyle=<current section>/<other sections>
subsectionstyle=<current subsection>/<other subsections in current secton>/<other subsections>
有效的關鍵字是show
,shaded
和hide
這將在每個部分放置一個不帶小節的目錄和一個包含當前節的小節的目錄:
\AtBeginSection[]
{
\begin{frame}{title}
\tableofcontents[
sectionstyle=show/show,
subsectionstyle=hide/hide/hide
]
\end{frame}
\begin{frame}{title}
\tableofcontents[
currentsection,
sectionstyle=show/hide,
subsectionstyle=show/show/hide
]
\end{frame}
}
請參閱投影機使用者指南第 99–100 頁以了解說明