I am creating a presentation in Latex where I have 2 slides which would contain 4-4 slides in a window-like setup. I found this link: Add four images on a beamer frame and tried to put the animations like that but it does not work with animations. It ends up like this no matter what:
However, I would like to put them like in the link. Like this:
Minimal Working Example:
\documentclass{beamer}
\usepackage{animate}
\usepackage{graphicx}
\begin{document}
\begin{frame}
\begin{columns}
\column{.5\textwidth}
\centering
\animategraphics[autoplay, loop,scale=0.33]{25}{gif/frame-}{0}{36}\\
\animategraphics[autoplay, loop,scale=0.33]{25}{gif/frame-}{0}{36}
\column{.5\textwidth}
\centering
\animategraphics[autoplay, loop,scale=0.33]{25}{gif/frame-}{0}{36}\\
\animategraphics[autoplay, loop,scale=0.33]{25}{gif/frame-}{0}{36}
\end{columns}
\end{frame}
\end{document}
I also tried this with animate: how can I put multiple video next to each other on one slide presentation but it does not change anything regarding the animations.
Edit:
Based on this answer from '13: Animate multiple sequences of images side by side, it seems like it worked previously but something has changed.
Edit: \begin{columns}[b]
or \begin{columns}[c]
or \begin{columns}[t]
or \begin{columns}[T]
with and without \centering
did not change anything. Neither if I put any of them after \begin{frame}
.
Edit: The inputs are in png format. Using height
and width
explicilty changes the size of the animations but no the location.
Edit: Something really weird is happening since even I just put one animation in the slide, it will be placed in the lower left corner.
Edit: \begin{center}
does the same as the first try. It does not change anything.
Edit: Creating a fully new version with just one slide, it works as expected. Not sure what happens in my actual project which makes it wrong.
Best Answer
lines caused the whole problem. Removing them fixed the issue.