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

33
votes
2answers
905 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 ...
23
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 ...
20
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, ...
18
votes
3answers
2k 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 ...
11
votes
1answer
338 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
837 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
283 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
317 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} ...
7
votes
2answers
1k 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. ...
7
votes
1answer
1k 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: ...
7
votes
1answer
351 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
205 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
240 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
108 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
74 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
456 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
550 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
1k 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
1answer
104 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
253 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
319 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
83 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
66 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
155 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 ...
4
votes
2answers
150 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
65 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
618 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
246 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
253 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
427 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
269 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
151 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
1answer
143 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
2answers
55 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
275 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
68 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
103 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} ...
3
votes
1answer
414 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> ...
3
votes
1answer
1k views

show only play button with animategraphics

I transformed a gif in a serie of png files and I animated it in my pdf with the command \animategraphics. I want to have only a play button shown, not all the controls. Is there a way of doing this? ...
3
votes
1answer
753 views

How to create custom itemize-unfolding-animations in beamer

I'm still a newbie in beamer so sorry if it's a simple question: I want to animate an "unfolding of itemize" in a custom way. So instead of the standard: \begin{itemize} \item<1-> item-1 ...
3
votes
1answer
179 views

Using \pause with graphics animation

How can I hide the animation in my code?. I use this image (.gif). \documentclass[compress,red]{beamer} \usepackage{etex} \mode<presentation> \usetheme{Warsaw} ...
3
votes
1answer
684 views

Animate animategraphics outputs frames in wrong order

I tried the Asymptote pdfmovie.asy example and the frames came up in the wrong order. I tried numerous other examples, including wheel.asy, and several of my own tests always with the same results. ...
3
votes
1answer
83 views

Bug in label for legend with beamer, tikz, animate

I am very puzzled by this small bug. This example does not work because compilation crashes on the line containing \label{Temp\iIdPic}. \documentclass[11pt]{beamer} \usepackage[latin1]{inputenc} ...
3
votes
1answer
111 views

Can use `animate` with `onslide` in Beamer

I saw one example. \documentclass{beamer} \usepackage{animate,tikz} \begin{document} \begin{frame} \begin{center} \begin{animateinline}[autoplay,loop]{1} \multiframe{15}{i=0+1}{% ...
3
votes
1answer
120 views

How to sync animated graphics with beamer next-slide click?

Using \animategraphics of the animate package, I would like to move from one image to the next by clicking on the next slide button instead of clicking on the image (as in script below). ...
3
votes
0answers
287 views

How to control several animations with one control [closed]

I want to have a common time control (play/stop/rewind/etc) for several items. Such as an animation and a video. Or two animations. And, how do you position the control buttons above the display ...
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}; ...
2
votes
2answers
637 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
131 views

Make gif-animation faster with animate

I have a series of PNG figures that I use to make an animation in a beamer presentation. The animation works fine except that the frame rate is very slow, like 1 per second. I would like to make it ...
2
votes
1answer
183 views

TikZ drawing order when using animate

I've have a problem when I use animations in TikZ images: I like draw a figure over another figure by \path(fig) node[anchor = north, inner sep=0pt,outer sep=5pt] { FIGURE1 } \path(fig) node[anchor ...