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

38
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 ...
25
votes
2answers
2k views

Draw Nuclear Reactor with moving flows

I want to draw a nuclear reactor. In texamples.net there is a template which is pretty much what I would like to do. The code is % Pressurized Water Reactor % Author: Gloria Faccanoni ...
22
votes
1answer
3k 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, ...
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 ...
14
votes
2answers
416 views

Defining a vector of variables in Tikz

I have the following animation in beamer: with the following code (probably not optimal): \documentclass{beamer} \usepackage{tikz} \usepackage{multimedia} \begin{document} ...
13
votes
2answers
647 views

Moving text effect in presentation

please consider the following example: \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \begin{tikzpicture}[remember picture,overlay] \only<1>{ ...
11
votes
1answer
544 views

A walking matchstick man

I'd like to create a presentation with a walking guy. I have to graphics, with a guy in two different positions. How do I make them appear in appropriate moments while moving right at the same time? ...
10
votes
1answer
1k views

Package animate is great but could it have a better animation compression?

I just tried the animate package to get pdf files with animations and it works great! However, I noticed that the size of the files generated is 10 times larger that what it could be for the ...
10
votes
2answers
384 views

Converting animations to individual Beamer slides

I am writing a Beamer presentation which includes an animation, created via the animateinline environment within the animate package. When I create a handout of my slides (by setting the handout ...
9
votes
1answer
384 views

A hitch in my animation and tikz document

There's something strange going on with the animation at 135 degrees. I can't figure out what's going wrong. Here's the MWE: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc} ...
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. ...
8
votes
1answer
3k 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: ...
8
votes
1answer
474 views

Typewriter Animation Using the 'Animate' Package

I wanted to do something similar like here: Improving typewriter animation But using the animate package. I managed to get a very poor solution: \documentclass{article} ...
8
votes
1answer
299 views

Exporting animation created with animate package

Consider the following minimal working example. It's great to have an animation in pdf format. But sometimes it would be good to be able to export it into an animated gif or something else (swf, video ...
7
votes
1answer
666 views

Why does animategraphics no longer work?

Several decades ago I could compile the following code snippet with pdflatex -shell-escape main.tex to produce a PDF output with animation. % the filename is main.tex ...
7
votes
0answers
403 views

animate graphic with decreasing numbers and missing 0 [closed]

I want to animate different png-files into one graphic in LaTeX. I use: \documentclass{beamer} \usepackage{graphicx} \usepackage{animate} \begin{document} \frame{ \frametitle{Monte Carlo Simulation ...
6
votes
1answer
290 views

Animation: How to move the position of an equation in a continuous manner?

I want to make equations (or words) to continuously move in a page for a beamer talk. A simple example would be we have "A" on the left margin and "B" on the right margin and then "A" moves towards ...
6
votes
1answer
233 views

How to make a fill-in-the-blank presentation

I want to make a presentation with LaTeX. My problem is that I want to have on the current slide, at anytime I'd like to positionate (e.g. "The gras __ green"), some text only shown underlined without ...
6
votes
1answer
622 views

Strange error when combining Beamer, Animate, Tikz and Listings

I'm working on some slides where I show how code is actually executed in Java. Therefore I'm working with the animate package to generate animations. Without going into details, I've written a macro ...
5
votes
3answers
767 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 ...
5
votes
2answers
2k views

Animate package - output graphic size is smaller than original

I successfully created an animation PDF from mulitple PDF pages by using the animate package, but the problem is that the output graphics size is about half the size of the original. How can I ...
5
votes
2answers
431 views

Animating a plot with pgfplots

I'm creating a beamer presentation and I want to animate a plot with pgfplots. This is a MWE of the graphics: \documentclass{beamer} \usepackage{tikz,pgfplots} \begin{document} \begin{frame} ...
5
votes
2answers
155 views

Animate doesn't animate with LuaLaTeX

I have the following code: \documentclass{article} \usepackage{animate} \listfiles \begin{document} \animategraphics[palindrome,autoplay,width=\textwidth,controls]{5}{Testsaves}{0}{1} \end{document} ...
5
votes
2answers
119 views

Conflict between animate package and math delimiters?

I've encountered an unusual problem with the animate package and the use of math delimiters, like \left\{. When compiling the MWE, I get the error Missing delimiter (. inserted). on the math line. ...
5
votes
1answer
4k 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 ...
5
votes
1answer
130 views

How to animate this project

I'm Brazilian, 18 years old and I have a final project in the first half in my university. I found here a code of one analog clock and I made a modification to create a speedometer. I wonder how I can ...
5
votes
2answers
437 views

timeline and animate package

I'm trying to make some pdf with animate package controlling a loop with the timeline. The purpose is to have a loop but reaching the last frame, the color of the dot should change. My main questions ...
5
votes
1answer
122 views

Why does animate package produce a strange PDF file that always prompts us before closing?

% test.tex \documentclass[preview,border=12pt,varwidth]{standalone} \usepackage{animate} \begin{document} Why does animate package produce a strange PDF file \\that always prompts us before closing? ...
5
votes
1answer
470 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
1answer
420 views

Hacking Animate

While babysitting my kids yesterday I played little bit with one of my favorite LaTeX package PSTricks. Naturally I started toying with something more "advanced" so a toyed a bit with animations. On ...
5
votes
1answer
147 views

Why does the Animate package inflate the file size of all of my externalized TikZ pictures?

I am using TikZ externalization to compile the figures in my thesis that use TikZ or PGF Plots. Ever since I included an animation using the animate package, the size of the PDFs of each of my ...
5
votes
1answer
95 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
252 views

Strange behavior with TikZ animation

I was trying to create an animated TaiChi symbol with TikZ and the animate package, and I encountered the following problem: If I don't add a bigger bounding box to the tikzpicture, then some frames ...
5
votes
1answer
551 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} ...
5
votes
2answers
101 views

Enable a default static frame for incompatible browsers with the animate package

I am working on a document where I want to embed animations using the animate package. A minimal compilable example of such would be the following: \documentclass{article} \usepackage{pgfplots} ...
4
votes
2answers
166 views

my first animate project times out

The last few days I have been working on a visualization of the clark/park-transformation used in electrical engineering. It's look like this: This whole file is "dynamic", meaning that if I change ...
4
votes
1answer
159 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 ...
4
votes
1answer
177 views

Problems combining tikz and storebox: Missing number, treated as zero. With animate, page shipped out with text `graphicx`,

When I load both tikz and storebox and compile the following MWE, I get an error message ! Missing number, treated as zero.. When I additionally load animate, I get no error message, but a spurious ...
4
votes
3answers
467 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: ...
4
votes
1answer
1k views

How to loop through a list of tikzpicture within animateinline?

I have the following code which uses animateinline and several tikzpicture for it's animation effects: \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{ifthen} ...
4
votes
1answer
226 views

Keep TikZ arrows on foreground with animategraphics

I am using beamer and I'd like to put an arrow with TikZ on a movie created with \animategraphics. No problem when I am using only one frame, for example: \begin{frame} ...
4
votes
1answer
470 views

Animating perpetual motion with a forward moving line (TikZ/beamer)

I am trying to create an animation that gives a visual notion of a perpetual forward motion in time. What I would like to create is: An arrow starts moving towards the right of the x axis. Below ...
4
votes
1answer
922 views

'Dimension too large' error in animate package

I am using the animate package to include a series of images into a PDF (like a small movie), which usually works fine, however, now I am running into an ! Dimension too large. <recently read> ...
4
votes
1answer
582 views

Documentation for the animate package with TikZ

I'm trying to locate some detailed documentation on the animate package. When I look at examples here and in other places, there is really way too much unknown syntax to figure out. I was hoping ...
4
votes
1answer
666 views

Draw Animated line in beamer

I'd like to be able to draw Animated line in beamer in one frame with animation Thanks to @Kevin C for those pictures \documentclass[leqno,mathserif]{beamer} ...
4
votes
1answer
228 views

Animation with beamer: concatenating images at different velocities

I'm trying to make an animation with beamer. I usually do the following: \begin{animateinline}{12} \multiframe{11}{i=0+1}{% \includegraphics[width=\textwidth]{image_\i}} \end{animateinline} ...
4
votes
0answers
82 views

Transparent background in Asymptote animation

In my TeX distribution there are two Asymptote examples named inlinemovie.tex and inlinemovie3.tex. (They are also available here.) Quick question The two animations in inlinemovie.tex have ...
3
votes
3answers
375 views

pgfplots + animate: complicated line-by-line animation

I want a retangle with 80 diagonal lines: \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ %------------------------ %% Options ...
3
votes
1answer
247 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} ...
3
votes
1answer
312 views

Self-scrolling formulas and text in Beamer?

For a presentation with Beamer, I would like to have a slide where a long list of formulas (maybe mixed with text) scrolls automatically within a certain part of the slide. This should look like e.g. ...