How to split table of contents across multiple slides with Latex Beamer?
Asked Answered
J

4

52

I currently am preparing some slides for a presentation and am using Latex with the Beamer package. Currently the sections and subsections of my presentation cause the presentation overview text in the table of contents slide to extend past the bottom of the page.

Is there a way to split my table of contents up so they are displayed across multiple slides?

Jennifer answered 27/5, 2009 at 4:43 Comment(0)
J
71
\begin{frame}[allowframebreaks]{Outline}

The above code will split any over hang across multiple slides.

Jennifer answered 27/5, 2009 at 4:54 Comment(1)
This also worked for my question about bibliographies. THANKS!!Troll
M
15

You can also try:

\begin{frame}[shrink]{Outline}

The above will try to shrink content to fit frame margins.

Malignity answered 19/4, 2010 at 19:14 Comment(1)
From Beamer’s User Guide: Never use a smaller font size to “fit more on a frame”. Never ever use the evil option shrink.Lachellelaches
S
13

You can divide your presentations in parts with

\part{1} .... \part{n}

then you can show the toc of every part on an other slide with

\tableofcontents[part=1]

If you use

\tableofcontents[currentsection]

only the toc of the part will be displayed...

Stormystorting answered 23/3, 2011 at 19:25 Comment(1)
Linking the solution in tex.stackexchange.com/questions/65656/… here for others that would like to reset section numbering between parts.Karilynn
G
3

If you split the table of contents manually, you have more fine control to select a good break point:

\documentclass{beamer}

\begin{document}
    
\begin{frame}
  \only<1>{\tableofcontents[sections={1-4}]}
  \only<2>{\tableofcontents[sections={5-}]} 
\end{frame} 

\section{title1}
\begin{frame}
content...
\end{frame}
\section{title2}
\begin{frame}
content...
\end{frame}
\section{title3}
\begin{frame}
content...
\end{frame}
\section{title4}
\begin{frame}
content...
\end{frame}
\section{title5}
\begin{frame}
content...
\end{frame}
\section{title6}
\begin{frame}
content...
\end{frame}
\section{title7}
\begin{frame}
content...
\end{frame}
\section{title8}
\begin{frame}
content...
\end{frame}

    
\end{document}
Gd answered 22/9, 2021 at 10:14 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.