
に長い目次がありbeamer
、LaTeX のオプションにより目次が 2 つ (またはそれ以上) のスライドに拡張されるとします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}
最初のスライドは最大限に埋められ、残りは (上揃えで) 2 番目のスライドに表示されます。ただし、セクション 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}
プレゼンテーションにおいてはシンプルさが力になります。
2) 前のポイントと矛盾せず、各セクションの最初に目次を表示しますが、現在のセクションを強調表示し、オプションでこのセクションのサブセクションのみを表示します。
% In the preamble!!
\AtBeginSection
{\begin{frame}{ToC}
\tableofcontents[currentsection,hideothersubsections]
\end{frame}}
\begin{document}
そして、ポイント 1 のフレームを離れた場合は、tocdepth
カウンターを設定します。2
場合によっては (たとえば、3 番目のセクションを表示する場合)、サブセクションが 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}
d) 影のセクションを削除し、実際のセクションの目次のみを表示します
\tableofcontents[sectionstyle=show/hide,subsectionstyle=show/show/hide]
。
答え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}
次の出力が生成されます: