Latex Beamer: Animated gif files problem

In summary, the conversation is about using animated graphs in a latex beamer presentation. The person has encountered an issue with using animated gif files in latex and has found a solution on a website. They have converted the gif files to png format and added code to their latex beamer, but something is still not working. They provide a sample code for reference and ask for help in running beamer latex.
  • #1
ilvreth
33
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: 990
Physics news on Phys.org
  • #2
i have a question : how to run beamer latex?
 

FAQ: Latex Beamer: Animated gif files problem

1. What is Latex Beamer?

Latex Beamer is a document preparation system that allows users to create high-quality presentations, similar to Microsoft PowerPoint, using the Latex typesetting system.

2. What is an animated gif file?

An animated gif file is a type of image file that contains multiple frames, allowing it to display a short animation or series of images in a loop.

3. Can Latex Beamer support animated gif files?

Yes, Latex Beamer does support animated gif files. However, there may be some limitations depending on the version of Latex and the compiler being used.

4. Why am I having problems including animated gif files in my Latex Beamer presentation?

The most common reason for problems with animated gif files in Latex Beamer is due to compatibility issues with the version of Latex or the compiler being used. It is important to check for updates and use the most recent versions to avoid these issues. Additionally, make sure the gif file is saved in a format that is compatible with Latex Beamer.

5. Is there a workaround for including animated gif files in Latex Beamer?

Yes, one workaround is to convert the animated gif file into a series of static images and include them in the presentation using the \animategraphics command. Another option is to use an external pdf viewer to display the animated gif file during the presentation.

Similar threads

Replies
1
Views
5K
Replies
8
Views
11K
Replies
4
Views
2K
Replies
1
Views
2K
Replies
2
Views
2K
Replies
1
Views
7K
Replies
4
Views
5K
Replies
4
Views
12K
Replies
11
Views
4K
Back
Top