TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am not able to generate the table of contents made of all the parts (declared by \part command) of my Beamer presentation. While sections of each part are listed easily, there is no hint in the Beamer user guide how to use \tableofcontents to generate the list of parts. Anyone knows?

share|improve this question
up vote 10 down vote accepted

I've left away the fancy bits (i.e. routing it all through templates, making hyperlinks out of it, go wild in \beamer@partintoc!), and the part names still won't show in the ordinary \tableofcontents. Oh, and since you can only have one \AtBeginPart, be careful not to overwrite this one.

%% number, shortname, page.
    % requesting onlyparts.
    \makebox[6em]{PART #1:} #2


share|improve this answer
Many thanks, Ulrich! Your code did solve the issue. – Tomik Nov 16 '10 at 15:32
@Tomik: You're welcome. (You're also welcome to mark your question as sufficiently resolved by ticking the checkbox to the left if you feel it is appropriate.) – Ulrich Schwarz Nov 16 '10 at 15:57
@UlrichSchwarz: thank you for this solution. How would I go about to also have a part* command (such that certain parts don't appear in the part ToC)? – GertVdE Nov 10 '15 at 12:35

Quoting from the beamer documentation, p. 98:

If you give a long talk (like a lecture), you may wish to break up your talk into several parts. Each such part acts like a little “talk of its own” with its own table of contents, its own navigation bars, and so on.

So I guess there is no "built-in" way to create a table of contents spanning several parts in beamer. IMO, you should reorganize your presentation so that former parts become sections and former sections subsections. (As for former subsections, p. 34 of the documentation states "Do not use subsubsections, they are evil", but you could even ignore that.)

share|improve this answer

Since beamer doesn't directly support parts in the table of contents, I would simply use an itemize environment to print out the list of parts.

If you really wish to copy the comfortable \tableofcontents way, you may build a separate TOC file for that using \addtocontents (could be done with \AtBeginPart{\addtocontents...}) and process it, similar to \beamer@tableofcontents in beamerbasetoc.sty. But that requires some programming, you may decide if it's worth the effort for just one document. Extensive presentations with many parts requiring a content frame, besides the existing sectioning structure, might not be very common.

share|improve this answer
I did the same. Yet I am thinking about a more elegant solution. – Tomik Nov 12 '10 at 19:01
I'm pretty sure this requires some programming... I'll edit above. – Stefan Kottwitz Nov 12 '10 at 19:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.