a package for creating animations based on PDF and JavaScript. If your question does not specifically concern this package, use the more general {animations} tag instead.

learn more… | top users | synonyms

22
votes
1answer
2k views

Beamer Animations: How to simulate terminal input and output

I'm preparing some Unix training material and I'd like to show some vertically scrolling text of the commands as if simulating text entry in a terminal. My idea was to split the frame into 2 columns, ...
34
votes
2answers
1k views

How to make a diagram composed of superimposed layers where the viewer can make each layer visible or invisible independently of the other layers?

This question led to a new package: ocgx (I have edited the question as ocgtools looks like it is the right package to use, rather than animate.) I am trying to use LaTeX with the TikZ package ...
4
votes
1answer
501 views

How to animate a path or how to draw starting fraction of a complex but linear path?

I would like to reproduce something similar to Animating Protocols but with a compound path and not a straight one. \documentclass{standalone} \usepackage{tikz} \usepackage{animate} ...
2
votes
3answers
1k views

Animate Line / Path using Tikz and 'animate' package

I would like to animate the following path from A to B. \begin{tikzpicture} \draw [->, draw=black!70, line width=2.5] (8,4) -- +(1,0) node (v4) {} -- +(1,-2) -- +(0,-2); \node at (7.5,4) {A}; ...
19
votes
3answers
3k views

TikZ externalize, pgfplots and animate

I gave a very fetching presentation written with beamer today. It included a pgfplot animated with the animate package, and the result was fantastic. The problem? One of my colleagues wants to borrow ...
8
votes
1answer
2k views

How to use autoplay (within animate package) together with a pause at the end of every playing?

I am trying to include the following animated gif: into beamer document and I am using animate package. When I follow this instructions: ...
4
votes
1answer
87 views

Strange interaction between hyperref, listings and animate

I am trying to have a listing inside an animate environment. However I can't manage to do it if the hyperref package is loaded. This is a MWE, obviously in the real application I need hyperref for ...
3
votes
1answer
203 views

Wrong frame size in animation

Consider the following code (more or less this): \documentclass{article} \usepackage{lmodern} \usepackage[ hmargin=2.4cm, vmargin=3cm ]{geometry} \usepackage{tikz} \usetikzlibrary{calc} ...
2
votes
2answers
699 views

How to use preview and animate packages together?

I'm used to prepare tikz graphics with preview or standalone packages to crop them. Now I've started to experiment with animations and wanted to do the same. My first test was with Alexander Grahn's ...
2
votes
1answer
2k views

Video in Beamer with multimedia package not playing

I am trying to use the multimedia package in Beamer to play a local, non-embeded, video. The file compiles without errors; however, when I click on the place-holder image, it simply moves to the next ...
8
votes
2answers
2k views

How to include a PSTricks animation into a beamer?

I'm trying to create an animation to include into a beamer. I figured (naively I suppose) a way to do that is to create a Pdf with animate package, and then \includegraphics it into my beamer. ...
5
votes
1answer
84 views

PSTricks animation not scaling correctly

Consider the following animation: \documentclass{article} \usepackage[margin=2cm]{geometry} \usepackage{pst-eucl} \usepackage{animate} \usepackage{siunitx} % LaTeX 3 syntax \ExplSyntaxOn ...
5
votes
1answer
361 views

Compiling the latex->dvips->ps2pdf with dvips -Ppdf

The documents I create heavily depend on postscripts (I use pstricks quite a lot). I've had some issues with resolution, and it's been recommended to try using dvips -Ppdf. But recently, I've been ...
5
votes
3answers
638 views

How to make \animategraphics happy with a file name with spaces?

% this filename is main.tex % compile it with "pdflatex -shell-escape main" (without the quotes) \documentclass{article} \usepackage{filecontents} % Create a PDF file that consist of some pages ...
2
votes
3answers
312 views

How to deal with zero padding using multiframe in the animate package?

In the animate package, using \multiframe, how to deal with zero padding? For example if I have 101 pictures from pic0000.jpg to pic0100.jpg and I want to do something like that: ...
1
vote
1answer
65 views

Animation in tabular

When I put an animation (animate package) inside a tabular, I get some weird errors. Here is the MWE: \documentclass{article} \usepackage{animate} \begin{document} \begin{tabular}{l} ...
0
votes
2answers
71 views

Missing endgroup in animation

Where is the missing endgroup in the next code ? \documentclass[tikz,margin=5pt]{standalone} \usepackage{calc,animate} \newcommand{\Cercle}[1]{% \begin{tikzpicture}[thick] ...