Latex Beamer: Animated gif files problem

  • Context: LaTeX 
  • Thread starter Thread starter ilvreth
  • Start date Start date
  • Tags Tags
    Animated files Latex
Click For Summary
SUMMARY

The discussion focuses on integrating animated GIF files into LaTeX Beamer presentations. Users discovered that animated GIFs are incompatible with LaTeX Beamer, leading to a workaround involving the conversion of GIFs to multiple PNG frames. The user attempted to implement this solution using the \animategraphics command from the animate package but encountered issues. The discussion highlights the importance of proper syntax and package usage in LaTeX Beamer for successful animation integration.

PREREQUISITES
  • Familiarity with LaTeX Beamer class and its structure
  • Understanding of the animate package for animations
  • Knowledge of image formats, specifically converting GIF to PNG
  • Basic LaTeX commands and syntax
NEXT STEPS
  • Research the \animategraphics command in the animate package documentation
  • Learn about converting GIF files to PNG frames using tools like ImageMagick
  • Explore troubleshooting common LaTeX Beamer issues related to graphics
  • Investigate alternative methods for including animations in LaTeX presentations
USEFUL FOR

This discussion is beneficial for LaTeX users, particularly those creating presentations with Beamer, graphic designers looking to incorporate animations, and educators aiming to enhance their teaching materials with animated visuals.

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,058
Physics news on Phys.org
i have a question : how to run beamer latex?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
8K
  • · Replies 8 ·
Replies
8
Views
12K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 1 ·
Replies
1
Views
8K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 4 ·
Replies
4
Views
12K
  • · Replies 11 ·
Replies
11
Views
6K