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.


minipages or\parboxes and this way specify the height and width. – Jasper Habicht Dec 11 '21 at 09:06\begin{columns} \column{0.5\textwidth} ... \column{0.5\textwidth}... \end{columns}– vi pa Dec 11 '21 at 09:49\begin{columns}[b]or\begin{columns}[c]or\begin{columns}[t]or\begin{columns}[T]with and without\centering? – vi pa Dec 11 '21 at 10:00widthandheightfor\animategraphics. – Jasper Habicht Dec 11 '21 at 14:20\begin{frame}[b]or\begin{frame}[c]or\begin{frame}[t]? – vi pa Dec 11 '21 at 16:01example-movie.pdffrom pkgmwewith your code, the output looks as expected. What happens if you place\includegraphics[scale=0.33]{gif/frame-0}in the columns? – AlexG Dec 11 '21 at 16:110.5\textwidthplaced side-by-side are wider than the normal text area of\textwidth, without a warning. – AlexG Dec 11 '21 at 16:22