1

I want to add a gif into my beamer presentation. I already converted my gif into pngs like in the picture.enter image description here

But I have no idea how to embed png sequence to my tex file.

I used the following code

\documentclass{beamer}
\usepackage{animate}
\begin{document} 
\begin{frame}{Embedded Animation} 
  \animategraphics[controls,width=\linewidth]{10}{a-}{0}{64}
\end{frame}
\end{document}
Marijn
  • 37,699
  • Maybe use \multiinclude? See https://tex.stackexchange.com/questions/240243/getting-gif-and-or-moving-images-into-a-latex-presentation, specifically the second answer. This is a bit more compatible with different viewers than \animategraphics, which only works with Adobe Reader. – Marijn Jan 07 '21 at 14:43
  • @Marijn I getting error, that is, ! Package pdftex.def Error: File `a-0.png' not found: using draft setting. – Mustafa Umut Kazancıoğlu Jan 11 '21 at 07:13
  • Instead of a- use the full path to the png figures. Assuming a sub-directory anima of the working directory use ./anima/a- – Simon Dispa Jan 22 '21 at 18:10

0 Answers0