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.

At the moment, I have code as follows:

\documentclass{beamer}
\usetheme{Boadilla}
\usepackage[frenchb]{babel}

\begin{document}
\begin{frame}
  \frametitle{1}
\end{frame}
\begin{frame}
  \frametitle{2}
\end{frame}
\begin{frame}
  \frametitle{Overlay}
  \onslide<1->{After1\\}
  \onslide<2->{After2}
\end{frame}
\end{document}

Actually, the code doesn't realize what I want: I would like to display Overlay with After1 just after the first slide 1, and display Overlay with After1 and After2 after the slide 2.

Does anyone know how to correct the code to do so?

share|improve this question
    
It seems to me that you just need to replace <1-> and <2-> with <2-> and <3->, respectively, but maybe I'm missing something. –  Ian Thompson Sep 6 '12 at 15:50
    
That is not true, with <2-> and <3->, Overlay is always displayed after Slide 2, but I want it to be shown for the 1st time after Slide 1 –  SoftTimur Sep 6 '12 at 15:55
    
OK, I see what you mean now. No idea how to do it, though! –  Ian Thompson Sep 6 '12 at 16:01
    
You can use \frametitle<2->{Overlay} or (without a vertical rearrangement) \frametitle{\uncover<2->{Overlay}}. Is this what you want? –  Qrrbrbirlbel Sep 6 '12 at 16:07
add comment

1 Answer

up vote 1 down vote accepted

You can use \againframe:

\documentclass{beamer}
\usetheme{Boadilla}
\usepackage[frenchb]{babel}

\begin{document}
\begin{frame}
  \frametitle{1}
\end{frame}
\begin{frame}<1>[label=after]
  \onslide<1->{\frametitle{Overlay}
  After 1 }\\
  \onslide<2>{After 2}
\end{frame}
\begin{frame}
  \frametitle{2}
\end{frame}
\againframe{after}
\end{document}

enter image description here

share|improve this answer
add comment

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.