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

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 ...
24
votes
2answers
1k 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
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, ...
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 ...
13
votes
2answers
283 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} ...
12
votes
2answers
328 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
449 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
339 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
346 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
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: ...
8
votes
1answer
414 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} ...
7
votes
1answer
277 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
1answer
259 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
0answers
322 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
225 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
171 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
563 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
654 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
237 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
1answer
99 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
1answer
116 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
374 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
382 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
114 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
86 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
204 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
2answers
70 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
89 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. ...
4
votes
1answer
49 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} ...
4
votes
1answer
94 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
2answers
310 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 ...
4
votes
1answer
128 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
1answer
879 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
170 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
344 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
431 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
503 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} ...
4
votes
1answer
558 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
184 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} ...
3
votes
3answers
242 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
205 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
106 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. ...
3
votes
2answers
127 views

Using Counters in foreach, animate

I´m trying to create an animation of rectangles approximating the area below a curve (x^2). I´ve tried to use a counter to specify the lenght of the rectangles but Latex won`t let me use \divide or ...
3
votes
1answer
849 views

animategraphics not working on preview mac

I'm making a beamer presentation and in some slides I put animations in the following way: \animategraphics[autoplay,loop,scale=0.7]{10}{tsanim2}{}{}} where "tsanim2" is a pdf file. I'm using OSX ...
3
votes
2answers
126 views

Problem with animate package and PSTricks

For some reason I haven't been able to discern yet, the code appended below returns the error message \begin{pspicture} on input line [...] ended by \end{animateinline when I try to compile over ...
3
votes
1answer
40 views

python environment works with animate for single frames but not multiframe

I am trying to achieve some complicated animations with the animate and python packages. I can use the python environment within an animate environment for single frames, for instance: ...
3
votes
1answer
85 views

Usage of algorithm inside animateinline creates unexplainable offset

Update: Using pgfmathsetmacro in combination with an actual function, inside tikzpicture seems to be the issue. Some of the white space can be circumvented by the usage of \relax inside ...