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

40
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, ...
21
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
574 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} ...
14
votes
2answers
1k 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
2answers
462 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 ...
11
votes
1answer
627 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
5k 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: ...
10
votes
1answer
2k 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 ...
9
votes
1answer
373 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 ...
9
votes
1answer
423 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
570 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
2answers
3k views

Can't find ocgbase.sty while using animate

I am trying to learn the animate package. While I was trying to compile some example codes, I always run into the problem that **LaTex Error: File `ocgbase.sty' not found.** I am using Miktex ...
7
votes
1answer
709 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 ...
7
votes
1answer
1k 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
513 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
2answers
760 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} ...
6
votes
1answer
458 views

Using the animate package without Adobe

I'm looking to use the animate package in beamer to display animated graphics to my class, and I was wondering if it'd be possible for the animation to work on their Chromebooks. It seems Adobe isn't ...
6
votes
1answer
355 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
314 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
313 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
3answers
897 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
3k 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
532 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. ...
5
votes
2answers
6k 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
2answers
235 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
133 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
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} ...
5
votes
1answer
169 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
565 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
132 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
603 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 ...
5
votes
1answer
538 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
460 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
166 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
112 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
606 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
115 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} ...
5
votes
1answer
128 views

Putting side by side animations in beamer

I am using the animate package with beamer in order to create animations within a presentation of mine. So far I have no trouble doing it with one series of animations, but I wanted to know is there ...
5
votes
0answers
141 views

Obtain a PDF animated from SVG animated

I have read Animations in LaTeX, but my question (I think) is different. I have an SVG animated file and I want to create the same animation in LaTeX, without rewriting the code. An example is this ...
4
votes
3answers
543 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 ...
4
votes
2answers
130 views

animate does not animate files in beamer although compilation works

I want to add an animation (slideshow over ~70 files) to my beamer presentation. The compilation with pdflatex works fine, but the resulting pdf only shows the first image of the animation (or ...
4
votes
2answers
333 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
2answers
84 views

Package animate conflicts with tcolorbox

\PassOptionsToPackage{dvipsnames}{xcolor} \documentclass[dvipsnames]{article} \usepackage[skins]{tcolorbox} \usepackage{animate} \providecommand{\actiontext}{Attention} ...
4
votes
1answer
244 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
262 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
599 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
2answers
99 views

pgfplots + animate: Incorrect math mode symbols (unwanted verbatim)

Description I want to make an animated diagram. As soon I use the animate environment the stuff in math mode ($...$) is not displayed correctly (looks like verbatim text with _ ^ and so on). MWE ...