TransWikia.com

How to make "outline" frame in Beamer?

TeX - LaTeX Asked on May 12, 2021

In a presentation, people show regularly a “outline” frame containing the table of contents where some sections are grey (have been presented) and others are highlighted (will be presented right now).

Could anyone tell me how to realize it? Do we have to copy the same frame (table of contents) every time and change the color of some titles?

Thank you very much

2 Answers

You can do this using AtBeginSection:

documentclass{beamer}
usetheme{Boadilla}

AtBeginSection[]
{
  begin{frame}<beamer>
    frametitle{Outline for section thesection}
    tableofcontents[currentsection]
  end{frame}
}


begin{document}

section{Test section one}
begin{frame} Test end{frame}
begin{frame} Test end{frame}
section{Test section two}
begin{frame} Test end{frame}
begin{frame} Test end{frame}

end{document}

Here's the frame obtained just before the frames for section two:

enter image description here

Correct answer by Gonzalo Medina on May 12, 2021

To get a slide with your table of contents, use

begin{frame}
frametitle{Outline}
  tableofcontents
end{frame}

or on more recent beamer versions

begin{frame}{Outline}
  tableofcontents
end{frame}

While this does not answer exactly the original question, it ends up being useful, as lot of people might visit this thread with this specific goal.

Answered by Sinith on May 12, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP