0

This code

\documentclass{beamer}
\begin{document}
\begin{frame}
  \begin{overprint}
    \onslide<1>
    Text on slide 1 and 2
    \onslide<2>
    Text on slide 1 and 2\\
    Text on slide 2
  \end{overprint}
\end{frame}
\end{document}

creates the output

enter image description here

As the phrase

Text on slide 1 and 2

is used both on slides 1 and 2 I have to repeat it 1 time. Wouldn't it be so much better if I could carry it over from the previous slide and then just append

Text on slide 2

to it.

Is it possible?

1
  • 3
    Sure, that's what \pause does. Text on slide 1 and 2 \pause Text on slide 1 and 2\\ Text on slide 2
    – user121799
    Jan 28, 2018 at 21:56

1 Answer 1

3

Sure, that's what the \pause command does.

\documentclass{beamer}
\begin{document}
\begin{frame}
  \begin{overprint}
    Text on slide 1 and 2\\
    \pause
    Text on slide 2
  \end{overprint}
\end{frame}
\end{document}
2
  • Thank you for converting your comment into an answer - even on such a busy day for you! Feb 2, 2018 at 14:11
  • @samcarter Casting a shadow is actually not so time consuming, especially with TikZ ;-)
    – user121799
    Feb 2, 2018 at 15:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .