LaTeX Latex Beamer: Animated gif files problem

AI Thread Summary
The discussion centers on integrating animated graphs into a LaTeX Beamer presentation. The user has animated GIF files but encounters issues since these files are not compatible with LaTeX Beamer. They found a solution that involves converting GIFs to multiple PNG frames and using the `animate` package in LaTeX. However, after implementing the provided code, they face problems getting it to work correctly. The user seeks assistance with troubleshooting their LaTeX code and understanding how to run a Beamer presentation. Key points include the need for proper frame conversion, the use of specific LaTeX packages, and the request for help with code execution.
ilvreth
Messages
33
Reaction score
0
Hi to all.

These days i am working on a presentation using latex beamer. A really usefull thing is to present your animated graphs.

I want to include some animated graphs in latex. I have some animated gif files but animated gif files are invalid in latex beamer.

So i got some info to solve the problem in this site http://www.ipgp.fr/~lucas/contrib.html

First i converted the animated gif file to multiple frames in png format.

I added the code line to the latex beamer (as it says in the site above) but something goess wrong.

Could you please help me with this?
Here i have some latex code for example and a "sample" gif for help.

Code:
\documentclass[]{beamer}
\mode<presentation>
\usepackage{beamerthemeBerkeley} 
\usefonttheme{default}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{animate} 
\usepackage{epsfig}
\usepackage{amsfonts}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{geometry}
\usepackage{watermark}
\usepackage{movie15}
\usepackage{hyperref}
\usepackage{epstopdf}
\usepackage{makeidx}
\usepackage{pgf,pgfarrows,pgfnodes}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{epsfig}
\usepackage{amsfonts}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{geometry}
\usepackage{watermark}
\usepackage{epstopdf}
\usepackage{makeidx}

\title{bla bla}   
\author{bla bla bla}               
\institute{Department of bla bla}      
\date{\today}         

\begin{document}
\begin{frame}
  \titlepage
\end{frame}
\begin{frame}
\frametitle{Introduction}
  \begin{itemize}
  \item<1-> bla bla bla
  \end{itemize}
\end{frame}

%\begin{frame}
%\frametitle{Animation}
%\begin{center}
%\animategraphics[autoplay,loop,height=5cm]{1}{my_pngfile_}{0}{n-1} 
%\end{center}
%\end{frame}
	
\end{document}
 

Attachments

  • my_gifanimatedfile.gif
    my_gifanimatedfile.gif
    169.4 KB · Views: 1,043
Physics news on Phys.org
i have a question : how to run beamer latex?
 

Similar threads

Replies
1
Views
7K
Replies
8
Views
12K
Replies
4
Views
3K
Replies
1
Views
3K
Replies
2
Views
3K
Replies
1
Views
8K
Replies
4
Views
12K
Back
Top