I did a presentation, where I have an "animated" list, with the current item showing in red. After showing the last item I want to change the last item to a figure, to have a more picturesque way of talking about that last item. My problem is that with the last item I couldn't get the alert to work.

        \frametitle{Minimal working example}
            \item[]<2-|alert@2> A,

            \item[]<3-|alert@3> b,

            \item[]\only<4|alert@4>{ and c.} \only<5>{ \missingfigure[figheight=0.4\textheight]{Picture of c.}}

This generates a five page pdf and what I would want is that on the fourth page, when the "and c." shows up, the "and c." should be red, but it is not. What am I doing wrong?

Thanks in advance!

1 Answer 1


Is this what you want?

        \only<4>{and c.}%
        \only<5>{\missingfigure[figheight=0.4\textheight]{Picture of c.}}
  • Yes, thank you! Two questions though. a) Why did you comment the end of the lines? b) What's the logic here? The <4-|alert@4> after \item is applied to everything until the next \item?
    – fbence
    Feb 11, 2015 at 15:06
  • a) Don't worry. In this case, it does not matter. But some times we need to end the line with %.
    – Sigur
    Feb 11, 2015 at 15:09

You must log in to answer this question.

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