I have built a beamer presentation utilising the smartdiagram package.
The diagram appears animated but then I want to highlight two of the steps on the smart diagram. I have done this with the following code but is there a way to do it within a single frame? I have looked at using the \againframe command but had no success. The code below generates the desired effect but on 3 frames rather than 1.
\documentclass{beamer}
\mode<presentation>
{
\usetheme{Boadilla}
\usecolortheme{seahorse}
\setbeamercovered{transparent}
}
\usepackage{smartdiagram}
\begin{document}
\begin{frame}{Slide Title}
\centering
\scalebox{0.6}{
\smartdiagramset{sequence item height=2.5cm,
uniform color list=gray!60 for 5 items,
}
\smartdiagramanimated[sequence diagram]{Step 1, Step 2, Step 3, Step 4, Step 5
}
}
\end{frame}
\begin{frame}{Slide Title} % Highlight the 1st item red
\centering
\scalebox{0.6}{
\smartdiagramset{sequence item height=2.5cm, set color list={red!60,gray!60,gray!60,gray!60,gray!60}
}
\smartdiagram[sequence diagram]{Step 1, Step 2, Step 3, Step 4, Step 5
}
}
\end{frame}
\begin{frame}{Slide Title} % highglight the 1st and 4th item red
\centering
\scalebox{0.6}{
\smartdiagramset{sequence item height=2.5cm,
set color list={red!60,gray!60,gray!60,red!60,gray!60}
}
\smartdiagram[sequence diagram]{Step 1, Step 2, Step 3, Step 4, Step 5
}
}
\end{frame}

onlyenv, see for example https://tex.stackexchange.com/questions/31946/keep-column-height-in-beamer-when-replacing-content. – Marijn Apr 29 '19 at 15:15