비머의 각 섹션 앞에 각 섹션과 하위 섹션에 대한 목차를 추가하는 방법은 무엇입니까?

비머의 각 섹션 앞에 각 섹션과 하위 섹션에 대한 목차를 추가하는 방법은 무엇입니까?

각 섹션의 시작 부분에 목차를 추가하고 싶습니다.없이하위 섹션그리고목차~와 함께하위 섹션. 어떡해?

답변1

\tableofcontents-command 에 대한 선택적 인수를 사용하여 이를 달성할 수 있습니다 \AtBeginSection.

다음과 같이 섹션과 하위 섹션의 스타일을 정의할 수 있습니다.

sectionstyle=<current section>/<other sections>

subsectionstyle=<current subsection>/<other subsections in current secton>/<other subsections>

유효한 키워드 는 showshadedhide

그러면 하위 섹션이 없는 Toc과 각 섹션에 현재 섹션의 하위 섹션이 있는 Toc가 배치됩니다.

\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페이지를 참조하세요.

관련 정보