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?

  • 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 '18 at 21:56
2

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}
| improve this answer | |
  • Thank you for converting your comment into an answer - even on such a busy day for you! – samcarter_is_at_topanswers.xyz Feb 2 '18 at 14:11
  • @samcarter Casting a shadow is actually not so time consuming, especially with TikZ ;-) – user121799 Feb 2 '18 at 15:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.