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.

Below is the MWE. What I want to happen is:

  • Alert1 is shown as alert on display.

  • Next click -- alert details are displayed. Alert1 remains Red.

  • Next click -- Alert 2 is displayed as alert and both Alert 1 and earlier line go back to normal.

I have tried <.-+> (as shown below) but that does not solve the problem. How do I, say, make this alert when displayed and keep it for the next n clicks (while other text keeps getting displayed)?

\documentclass{beamer}
\begin{document}
\begin{frame}
\begin{itemize}[<+->]
\item \alert <.,+>{Alert1} \uncover <+-> {alert details}
\item \alert <.,+>{Alert2} \uncover <+-> {alert details}
\end{itemize}
\end{frame}
\end{document}
share|improve this question
add comment

1 Answer

OK. The trick is to use offset. This is what works:

\documentclass{beamer}
\begin{document}
\begin{frame}
\begin{itemize}[<+->]
\item \alert <.-.(1)>{Alert1} \uncover <+-> {alert details}
\item \alert <.-.(1)>{Alert2} \uncover <+-> {alert details}
\end{itemize}
\end{frame}
\end{document}
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.