Questions tagged [animate]

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.

Filter by
Sorted by
Tagged with
41
votes
2answers
2k 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 to ...
27
votes
2answers
3k 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 <http://www....
24
votes
3answers
5k 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 ...
24
votes
1answer
4k 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, ...
17
votes
1answer
2k 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, ...
16
votes
2answers
1k 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} \begin{frame}[label=...
16
votes
1answer
3k 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 ...
15
votes
2answers
4k 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>{ ...
13
votes
3answers
821 views

Inserting duplicate animations in beamer

Note: original title was "Is there a maximum size PDF that Latex can create?". I've edited the title to better reflect what I've discovered the issue to be. I'm creating a presentation in Beamer and ...
12
votes
3answers
1k views

How to create simple animations with `animate`?

I couldn't find code examples that were simple enough to help me start using animate package. I would like to ask you to provide some of your own examples that would be simple enough to build upon. ...
12
votes
1answer
10k 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: http://www.geogebratube.org/forum/viewtopic.php?f=20&t=...
12
votes
2answers
827 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
848 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
4answers
409 views

How to animate SVG paths as an animated PDF with animate?

I have a bunch of paths for a Kanji character and a simple one named test.svg is given as follows. <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"> <...
10
votes
2answers
235 views

How to place several animations in the same beamer frame?

I made a handout on which are drawn parallelograms of the same area. \documentclass[]{article} \usepackage[np]{numprint} \usepackage{tikz} \usetikzlibrary{arrows.meta} \begin{document} \begin{...
10
votes
1answer
3k 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
1answer
1k 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} \usepackage[latin1]{inputenc}...
10
votes
0answers
1k views

Obtain an animated PDF from an animated SVG

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 ...
9
votes
2answers
3k 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. ...
9
votes
2answers
6k 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 2.9, ...
9
votes
1answer
569 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
592 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 ...
8
votes
1answer
3k 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 \documentclass[preview,border=...
7
votes
2answers
2k 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} \...
7
votes
2answers
385 views

TEMPO: play a sound in animated GIF/PDF/SVG

When practicing piano, TEMPO (an app on iOS, CHplay) is a metronome that often be used to beat on time. I can make animated GIF/PDF/SVG/frame (in beamer) for TEMPO, but don't know how to play a ...
7
votes
5answers
2k views

Play animated graphic when “next slide” is clicked

I am giving a presentation and I have included an animatedgraphic in the following way: \animategraphics[scale=0.4,autoplay]{8}{movie}{000}{200} As you can see, this is played automatically. But I ...
7
votes
3answers
206 views

Clever setup of \multiframe with diverse conditions within animate package

I'm trying to setup an animated counter with PSTricks predefined digits. Got it to work up to 18 frames. However when increasing the number of frames, I can't handle it clever enough. No problem for ...
7
votes
1answer
15k 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? ...
7
votes
1answer
903 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
368 views

Animated cosine waveform with FM modulation using the animate package part 2

This question is building off the elegant solution given here. I have updated the equations. For a Frequency Modulated (FM) signal, these are the equations: Carrier = cos(2*pi*fc*t) Modulation = ...
7
votes
0answers
816 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
3answers
248 views

Get number of files in folder

I am using the animate package and have the pdf files to animate in a separate folder. I need to input the number for the first and last file, but am occasionally changing the number of files I would ...
6
votes
2answers
271 views

Animated cosine waveform with FM modulation using the animate package

I would like to get some help to get an animation of a modulated FM signal like this: Here is the code that I have so far: Code \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=...
6
votes
2answers
2k 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 ...
6
votes
1answer
680 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
435 views

Rotation animation of TikZ Picture

I made a simple TikZ picture like this: and I would make an animation that rotates the whole image about its z_world axis. I made this attempt: \documentclass[10pt]{article} \usepackage[italian]{...
6
votes
2answers
175 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. ...
6
votes
1answer
694 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
274 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
2answers
200 views

Is animate package compatible with htlatex

I have recently created some animations of tikzpictures using theanimate package. The result was (as expected) very nice. Now, I would like to save these animations as html(5 I guess) code to ...
5
votes
3answers
2k 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
5k 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
3answers
881 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 %--...
5
votes
2answers
208 views

package animate: How to convert a pdf animation created with transparencies to gif?

I wrote a pdf animation with the animate package using transparencies. To be able to show this gif, on S.E, I created not transparencies but images and I could convert it into gif with imagemagick ...
5
votes
1answer
268 views

Timer chrono countdown and progress bar

I would like to create a beamer containing a progress bar for a timer looking like this : (these images are from powerpoint) It's for my student, each slide is a question so I would like to be ...
5
votes
2answers
199 views

How to create molecule bondings movement using chemfig and animate package

I wanted to have a simple way of showing moving atoms within a molecule structure. I was inspired by this website: http://chem.libretexts.org. Here's one example of how to create that. Others may add ...
5
votes
2answers
1k 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 ...
5
votes
1answer
1k 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
10k 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
313 views

Individual atom font size in molecule structure using ChemFig package

I'm trying to display the bondings movement/vibration due to heat. I am able to recreate all the movement (together with animate package) except the "wagging" and "twisting" (please refer here for ...