비머에서 긴 TOC를 명시적으로 분할하는 방법은 무엇입니까?

비머에서 긴 TOC를 명시적으로 분할하는 방법은 무엇입니까?

beamerLaTeX가 옵션 덕분에 두 개 이상의 슬라이드로 확장되는 긴 목차가 있다고 가정해 보겠습니다 allowframebreaks.

\documentclass[12pt]{beamer}
\usetheme{madrid}
\usepackage[american]{babel}
\usepackage[utf8]{inputenx}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

\title{List of Donald Duck universe characters}
\author{Walt Disney}

\begin{document}

\section{Main characters}
\subsection{Donald Duck}
\subsection{Daisy Duck}
\subsection{Huey, Dewey, and Louie}
\subsection{Scrooge McDuck}
\subsection{Ludwig Von Drake}

\section{Relatives}
\subsection{Duck family (Disney)}
\subsection{Clan McDuck}

\section{Duck characters}
\subsection{Umperio Bogarto}
\subsection{Bum Bum Ghigno}
\subsection{Magica De Spell}
\subsection{Evroniani}
\subsection{Flintheart Glomgold}
\subsection{Gloria}
\subsection{Gotrocks}
\subsection{Grand Mogul}
\subsection{Mata Harrier}
\subsection{Brigitta MacBridge}

\begin{frame}[allowframebreaks]{Donald Duck universe characters}
\tableofcontents
\end{frame}

\end{document}

첫 번째 슬라이드는 최대 확장까지 채워지고 나머지는 두 번째 슬라이드에 배치됩니다(위쪽 정렬). 그러나 섹션 1과 2는 슬라이드 1에 표시되고 섹션 3(모든 하위 섹션 포함)은 슬라이드 2에 표시되도록 미세 조정하고 싶습니다. 물론 두 슬라이드의 텍스트는 위쪽 정렬이 아니라 수직으로 가운데 정렬되어야 합니다. . 또한 다음 슬라이드(예: I, II, III)에서도 자동 제목 번호 매기기를 유지하고 싶습니다.

나는 대해 알고있다\framebreak, 그런데 어디에 넣어야 할지 모르겠어요!? \tableofcontents[hideothersubsections]~처럼여기에 제안됨트릭을 수행하지 않는 것 같습니다.

답변1

\documentclass[12pt]{beamer}
\usetheme{Madrid}
\usepackage[american]{babel}
\usepackage[utf8]{inputenx}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

\title{List of Donald Duck universe characters}
\author{Walt Disney}

\begin{document}

\section{Main characters}
\subsection{Donald Duck}
\subsection{Daisy Duck}
\subsection{Huey, Dewey, and Louie}
\subsection{Scrooge McDuck}
\subsection{Ludwig Von Drake}

\section{Relatives}
\subsection{Duck family (Disney)}
\subsection{Clan McDuck}

\section{Duck characters}
\subsection{Umperio Bogarto}
\subsection{Bum Bum Ghigno}
\subsection{Magica De Spell}
\subsection{Evroniani}
\subsection{Flintheart Glomgold}
\subsection{Gloria}
\subsection{Gotrocks}
\subsection{Grand Mogul}
\subsection{Mata Harrier}
\subsection{Brigitta MacBridge}

\begin{frame}[allowframebreaks]{Donald Duck universe characters}
  \tableofcontents[sections={1-2}]
    \framebreak
  \tableofcontents[sections={3}]
\end{frame}

\end{document}

답변2

내 제안은 ToC를 여러 프레임으로 분할하지 않는 것입니다. 대안:

1) 섹션만 표시하기 시작합니다(하위 섹션 없이).

\begin{frame}{ToC}
\setcounter{tocdepth}{1}
\tableofcontents
% \setcounter{tocdepth}{2} % allow subsequent ToCs *with* subsections  
\end{frame}

... 이하:

\begin{frame}{ToC}
\tableofcontents[hideallsubsections]
\end{frame}

mwe1

프레젠테이션에서는 단순함이 힘입니다.

2) previos 포인트와 호환되지 않으며 각 섹션을 시작하는 ToC를 표시하지만 현재 섹션을 강조 표시하고 선택적으로 이 섹션의 하위 섹션만 표시합니다.

% In the preamble!!
\AtBeginSection
{\begin{frame}{ToC}
\tableofcontents[currentsection,hideothersubsections]
\end{frame}}
\begin{document}

그리고 포인트 1의 프레임을 벗어나면 tocdepth카운터를 설정하세요!2

mwe2

어떤 경우에는(예: 세 번째 섹션 표시) 10개의 하위 섹션이 있기 때문에 이것만으로는 충분하지 않습니다. 그렇다면 내 제안은 다음과 같습니다.

a) 하위 섹션을 표시하지 않습니다( tocdepth에서 유지 1). 그래도 단순함이 힘이다.

b) 가능하다면 구조를 재설계하여 하위 섹션 수를 줄이십시오.

c) 여러 열을 사용합니다. 예:

% In the preamble!!
\usepackage{multicol}
\AtBeginSection
{\begin{frame}{ToC}
\begin{multicols}{2}
\tableofcontents[currentsection,hideothersubsections]
\end{multicols}
\end{frame}}
\begin{document}

mwe3

d) 그림자 섹션을 제거하고 다음을 사용하여 실제 섹션의 Toc만 표시합니다 \tableofcontents[sectionstyle=show/hide,subsectionstyle=show/show/hide].

mwe4

답변3

표시할 섹션을 옵션으로 지정할 수 있습니다.

\tableofcontents[sections={1-3}]

따라서 각 프레임에 표시할 섹션을 수동으로 지정할 수 있습니다.

\begin{frame}{Outline}
  \tableofcontents[sections={1-3}]
\end{frame}
\begin{frame}
   \tableofcontents[sections={4-5}]
\end{frame}

답변4

\section*{Outline}
\begin{frame}{Agenda}
\begin{columns}[onlytextwidth]
\column{0.5\textwidth}
\tableofcontents[sections = 1-2]
\column{0.5\textwidth}
\tableofcontents[sections = 3-4]
\end{columns}
\end{frame}

\section{Executive Summary}
\subsection{Vision and Objectives}
\subsection{Current Needs and Status}
\subsection{Approaches}
\subsection{Review}
\section{The 5 W's and the H}
\subsection{What?}
\subsection{Why?}
\subsection{Where?}
\subsection{When?}
\subsection{Who?}
\section{Examples}

다음 출력을 생성합니다.

여기에 이미지 설명을 입력하세요

관련 정보