Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Beamer overview slide (automatically generated by sections and subsections)

923 views
Skip to first unread message

mik...@gmail.com

unread,
Jan 11, 2010, 7:50:14 AM1/11/10
to
I once but now forgot how to create a beamer overview slide that is
generated by sections and subsections only. E.g. if my document
contains the following sections and subsection

1. Introduction
1.1. The problem
1.2. The solution
2. Conclusion
2.1 References

then it would be nice for the overview slide to contain just that
(possibly without numbers but with indenting or whatever). There is
also the possibility of having this slide recur throughout the talk
when a specific section is reached with earlier section items on the
slide being greyed out and the current section highlighted.

Help is greatly appreciated!

Claas Hemig

unread,
Jan 11, 2010, 8:27:57 AM1/11/10
to
Hi,

I'm not sure if I got your point, but:

> I once but now forgot how to create a beamer overview slide that is
> generated by sections and subsections only.

\tableofcontents and \setcounter{tocdepth}{2} maybe?

> then it would be nice for the overview slide to contain just that
> (possibly without numbers but with indenting or whatever). There is
> also the possibility of having this slide recur throughout the talk
> when a specific section is reached with earlier section items on the
> slide being greyed out and the current section highlighted.

Search for \AtBeginSection and \AtBeginSubsection in beameruserguide.pdf.

HTH, Claas

mik...@gmail.com

unread,
Jan 11, 2010, 10:13:41 AM1/11/10
to

Thanks very much! I ended up putting in my preamble:

\AtBeginSection[] {
\begin{frame}[plain]
\frametitle{Overview}
\tableofcontents[currentsection]
\end{frame}
\addtocounter{framenumber}{-1}

And for a beginning overview slide I used:

\begin{frame}
\frametitle{Overview}
\tableofcontents
\end{frame}

Cheers!

Eric S Fraga

unread,
Jan 11, 2010, 9:35:13 AM1/11/10
to mik...@gmail.com
At Mon, 11 Jan 2010 04:50:14 -0800 (PST),

For having this information appear each time a new section starts, the
following works:

--8<---------------cut here---------------start------------->8---
\AtBeginSection[]
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}
}
--8<---------------cut here---------------end--------------->8---

I imagine (but don't have the manual at hand) that subsections can
also be included.

HTH.

0 new messages