0

I would like to order automatically some alerts (or other things) in some uncoverenv's. uncoverenv's should be continuously added but alerts should be just on the numbered slide. A minimal example is below. How to get the same result without manual numbering?

\documentclass{beamer}

\begin{document}
\begin{frame}{Frame}
First

\alert<2>{A1}

\alert<3>{A2}

\begin{uncoverenv}<4->
Second

\alert<5>{A3}

\alert<6>{A4}
\end{uncoverenv}

\begin{uncoverenv}<7->
 Third

\alert<8>{A5}

\alert<9>{A6}
\end{uncoverenv}

\end{frame}

\end{document}
  • 1
    Welcome to TeX.SX! What do you mean with order automatically? Something like the + overlay specification (instead of the number)? – TeXnician Oct 12 '17 at 11:56
1

Like this?

\documentclass{beamer}

\begin{document}
\begin{frame}{Frame}
First

\alert<+(1)>{A1}

\alert<+(1)>{A2}

\begin{uncoverenv}<+(1)->
Second

\alert<+(1)>{A3}

\alert<+(1)>{A4}
\end{uncoverenv}

\begin{uncoverenv}<+(1)->
 Third

\alert<+(1)>{A5}

\alert<+(1)>{A6}
\end{uncoverenv}

\end{frame}

\end{document}
  • Do you need the (1)? I always thought + would suffice. – TeXnician Oct 12 '17 at 12:05
  • @TeXnician That's what I tried first :) – user36296 Oct 12 '17 at 12:09
  • I also tried this for nested overlays. But I could not make it. For example \uncover<+(1)>{U1\alert<+(1)>{U1}} did not worked. Any suggestion? – Muhsin Oct 12 '17 at 12:37
  • @mert Should the same text be uncovered and alerted? – user36296 Oct 12 '17 at 13:17
  • No. It is just for an example. The point: first uncover complete sentence on a slide and alert part of the sentence on another slide. The overlays should be only on those two slides. The text should become normal after that. – Muhsin Oct 12 '17 at 13:21

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.