Latex Beamer: Animated gif files problem

  • Context: LaTeX 
  • Thread starter Thread starter ilvreth
  • Start date Start date
  • Tags Tags
    Animated files Latex
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 8K views
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,081
on Phys.org
i have a question : how to run beamer latex?