Animating side-by-side figures in Beamer slide

animationsbeamerdiagramsslideshow

Supposing there are three images that represent the three steps of a process, it will then be desirable to have them appear sequentially, side-by-side, and also in the same horizontal alignment.

How can this be done in Beamer?

Best Answer

  • To shown three images side by side inside of a beamer frame, use three \includegraphics commands in a row. Make sure, the combined width of all three images is smaller than the current textwidth in order to ensure all images are shown side by side.
  • To evenly space the images apart, add \hfill between adjacent \includegraphics commands.
  • In order to sequentially show the images, make use of the \pause command.

Here is a compilable MWE:

\documentclass{beamer}
\begin{document}
\begin{frame}
\includegraphics[width=0.3\linewidth]{example-image-a}\hfill
\pause
\includegraphics[width=0.3\linewidth]{example-image-b}\hfill
\pause
\includegraphics[width=0.3\linewidth]{example-image-c}
\end{frame}
\end{document}
Related Question