Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am working on a beamer presentation with a quite large table of contents. Therefore I split the table into two columns with the following code:

\begin{frame}{Overview}
\begin{multicols}{2}
\tableofcontents
\end{multicols}
\end{frame}

However this table is bad formatted. A section that starts on the left column continues on the right column. Are there any ways to avoid this.

Secondly the theme (Berkeley) prints a table of contents on the left, is there a way to make such a table that collapses (when no longer in that section, only show the section and not its subsection)?

share|improve this question

1 Answer 1

my table of contents was also really long, and i considered columns or splitting slides but went with this instead

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

for my outline at the beginning, and

\AtBeginSubsection[]{
    \begin{frame}{Outline}
        \tableofcontents[currentsection,subsectionstyle=show/shaded/hide]
    \end{frame} }

for each subsection change. this shows just my sections for the first table of contents (which makes it a lot shorter) and then for subsequent outlines, hides all the subsections completely, for sections that i am not in. the other sections are covered, just transparent, and the other subsections in the current section are transparent as well. so it highlights my current section and subsection, and keeps it all on one slide.

share|improve this answer
    
That's a nice solution, the only problem I have with it, is that the content moves after the first initial table of contents (I agree I'm nitpicking). But when I don't find another solution I will probably use this anwer. –  CommuSoft Mar 12 '12 at 17:22

Your Answer

 
discard

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.