add tag
4 years ago topnush

Take this code:

How can I make the E node to be red from the second transition, the F node to be red from the 5th transition, the D node to be red from the 6th (I will then add all the other transitions later).

Top Answer
4 years ago samcarter

Using the overlay-beamer-styles library, you can add things like alt=<2->{red}{black},text=white to your node to change the colour on certain overlays

You might also want to ensure that your labels above and blow the nodes all have the same height with something like minimum height=1.7cm to avoid the image jumping around.

document.gif

4 years
topnush — Wednesday, 19th May 2021 15:04

got you. thanks

samcarter replying to topnush — Wednesday, 19th May 2021 15:04

you could write alt=<2->{fill=red}{fill=black} instead, but I though just setting the text colour was easier

topnush — Wednesday, 19th May 2021 15:02

does the alt somehow overrule text=white, in the scope definition?

samcarter replying to topnush — Wednesday, 19th May 2021 15:00

I added this because the text was not white without …

20 minutes
topnush — Wednesday, 19th May 2021 14:39

why is it text=white in alt=<2->{red}{black},text=white ?

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.