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

So, I am doing a presentation using Beamer.

In my earlier presentation, I used the list elements auto unhiding one each time. : http://www.slideshare.net/scorpion032/building-pluggable-web-applications-using-django/38

using the following code:

    \begin{itemize}[<+-| alert@+>]                  \item
        Admin Interface                         \item
        Generic Views                           \item
        Testing Tools                           \item
        Sessions                                \item
        Authentication                          \item
        Caching                                 \item
        Internationalization                    \item
        RSS                                     \item
        CSRF protection                         \item
        File Storage                            

from http://github.com/becomingGuru/gids-django-ppt/blob/master/contents.tex

What I want right now, is the ability to sneak-in a few slides for each of these entries. Is there a simple direct easy way to do it?

Or should I consider using sections and displaying section titles? The problem with that approach is that, there will be way too many sections and given that I am displaying the sections on top bar, there might not be enough space for that.

Also, how do I display the contents page, with the current section highlighted for each section.

share|improve this question

One way to do this - if I understand correctly what you want - is to use the \againframe command. You label the frame:


and, in addition, you tell it to only display the first few slides:


then when you want to recall the frame, you use the \againframe command:


It's best if there's no repetition of slides, otherwise the pdf generation gets confused over page labels (I don't know if that causes a problem with hyperlinks or is just annoying errors). Simulated repetition can be done by ensuring that, say, slides 3 and 4 display exactly the same thing.

I used this in this seminar. As one goes through, a certain definition is modified time and again. So each time, I want to recall the previous version and then modify it. There's only one frame but bits of it are displayed again and again. The code is as follows, I include this to show what can be done - it won't compile for anyone as is because it uses a few of my own shortcuts. But by comparing it with the resulting PDF (and in particular, comparing the beamer, trans, and handout versions), it should be clear how to achieve similar things.

\begin{frame}<1-3 |trans: 1|handout: 1>[label=definition]
\frametitle{\only<1-4|trans: 1|handout: 1>{First}\only<5-6|trans: 2| handout: 2>{Second}\only<7-8|trans: 3|handout: 3>{Third}\only<9-10| trans: 4|handout: 4>{Fourth}\only<11-12|trans: 5-6|handout: 5-6>{Fifth} Candidate\visible<12|trans: 6|handout: 6>{: Fr\"olicher Space}}

\begin{definition}[{\only<1-4|trans: 1|handout: 1>{First}\only<5-6|trans: 2|handout: 2>{Second}\only<7-8|trans: 3|handout: 3|handout: 3>{Third}\only<9-10|trans: 4|handout: 4|handout: 4>{Fourth}\only<11|trans: 5|handout: 5>{Fifth}\only<1-11|trans: 1-5|handout: 1-5|handout: 1-5>{ Attempt}\only<12|trans: 6|handout: 6>{Fr\"olicher Space}}]
A \alert{\alt<1-11|trans: 1-5|handout: 1-5| handout: 1-5>{smooth}{Fr\"olicher} space} is a triple \((X,\m{\alt<1-11|trans: 1-5|handout: 1-5| handout: 1-5>{I}{C}},\m{\alt<1-11|trans: 1-5| handout: 1-5>{O}{F}})\) where:
\item \(X\) is a \alt<1-10|trans: 1-4|handout: 1-4>{\alert<1-3>{topological space}}{\alert<11>{set}}
\item \(\m{\alt<1-11|trans: 1-5|handout: 1-5>{I}{C}}\only<1-8|trans: 1-3| handout: 1-3>{(U)} \subseteq \Hom{\alt<1-10|trans: 1-4|handout: 1-4>{\TopCat}{\Set}}{\alt<1-8|trans: 1-3|handout: 1-3>{U}{\R}}{X}\),\only<1-8|trans: 1-3|handout: 1-3>{ \(U \subseteq \R^m\) open,}
\item \(\m{\alt<1-11|trans: 1-5|handout: 1-5>{O}{F}}\only<1-10|trans: 1-4| hando
ut: 1-4>{(V\only<1-8|trans: 1-3|handout: 1-3>{;\R^m})} \subseteq \Hom{\alt<1-10|trans: 1-4|handout: 1-4>{\TopCat}{\Set}}{\alt<1-10|trans: 1-4|handout: 1-4>{V}{X}}{\alt<1-8|trans: 1-3|handout: 1-3>{\R^m}{\R}}\)\only<1-10|trans: 1-4|handout: 1-4>{, \(V \subseteq X\) open}.

\only<1-4|trans: 1|handout: 1>{\medskip}

\only<5-11|trans: 2-5|handout: 2-5>{
such that

\item \(\m{I}\) and \(\m{O}\) are \alert<5>{compatible},
\item \(\alt<5-6|trans: 2|handout: 2>{\overline{\m{I}}}{\m{I}}\) and \(\alt<5-6|trans: 2|handout: 2>{\overline{\m{O}}}{\m{O}}\) are  \only<5-6|trans: 2|handout: 2>{\alert<5>{also compatible}}\only<7-|trans: 3-| handout: 3->{\alert<7>{saturated}: \(\m{I} = \overline{\m{I}}\), \(\m{O} = \overline{\m{O}}\)}.
\only<12|trans: 6|handout: 6>{
such that

\item \(\m{C} = \{\psi \colon \R \to X : \phi\psi \in \Ci(\R,\R), \phi \in \m{F}\}\)
\item \(\m{F} = \{\phi \colon X \to \R : \phi\psi \in \Ci(\R,\R), \psi \in \m{C}\}\)

A \alert{morphism} is a \only<1-10|trans: 1-4|handout: 1-4>{continuous }map \(f \colon X \to Y\) such
  \phi f \psi \alt<1-2|trans: 1|handout: 1>{\text{ is }}{\in} \Ci \text{ for } \psi \in \m{\alt<1-11|trans: 1-5|handout: 1-5>{I}{C}}\only<1-2|trans:1|handout: 1>{(U)}, \phi \in \m{\alt<1-11|trans:1-5|handout: 1-5>{O}{F}}\only<1-2|trans: 1|handout: 1>{(V;\R^m)}

\only<3|trans: 1|handout: 1>{
\item smooth map = morphism
\item \(\psi \in \m{I}\), \(\phi \in \m{O}\), \(\theta \in \Ci\)

I hope that I've understood correctly what you want and that this is of some help to you!

share|improve this answer
I guess you got what I mean. I will work on it later today and testify to you. Thanks, Andrew :) – Lakshman Prasad Aug 20 '10 at 16:44

Not sure of the first part, but this may help for "how do I display the contents page, with the current section highlighted for each section"

share|improve this answer

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.