14k views

How can we display fireworks?

Soon we can celebrate the New Year. How can we use TikZ for drawing fireworks? For example like this, photographed by Kurume-Shimin, found on Wikipedia: Click on Image search for getting further ...
51k views

Animations in LaTeX

I am a new user of LaTeX and this site. I have seen that many answers in this site have animations. However I am not able to produce any of these animations. For example, I asked How to reduce size of ...
7k views

How to draw a sine wave on a circular path in tikz

I want to draw circular waves like these: in TikZ.
7k views

Converting beamer slides to animated images

As a follow up to Highlighting specific parts of a TikZ drawing, I'd like to know how to generate an animated image (gif) from a series of beamer slides. Martin Scharrer came up with this example: ...
12k views

How to draw the region of inequality?

Everyone, I would like to draw the region \begin{align*} x_1 + x_2 &\ge 3 \\ 2x_1 - x_2 &\le 5 \\ -x_1 + 2x_2 &\le 3 \end{align*} Here is my code to draw the region of inequality: ...
4k views

Why does \vspace, after section heading, sometimes jump/snap in discrete steps?

Well, this is one question that I've had for a long time, and one that always gets me extremely irritated. However, this time I'm even somewhat happy - that I can ask the question at all; and that is ...
60k views

gif image in beamer presentation [duplicate]

I wish to display some animations in my beamer presentation. The most trivial way that comes to my mind is to use a gif image. How can I put it in the presentation and what should I use to display it? ...
3k views

How to achieve a rotating figure animation

I have a figure, in *.eps, say a pentagon which is already drawn and then included in TeX, and I want to achieve a rotating animation. So the polygon will be rotating about some point (usually its ...
1k views

Parallel lines on a grid and circle best practices?

I am a TeX/LaTeX noob, but I am learning rapidly. I am about to attempt to draw the following figure using LaTeX/TeX/TikZ I already have a, (I think) good working knowledge of how to draw circles, ...
16k views

Vertically aligning images in beamer

I have a sequence of images I would like to animate in beamer. In each frame, I would like to have two images, say A and B, aligned vertically and centred on the page. All images are the same size. ...
542 views

How to simplify my code with looping macros?

\documentclass{article} \usepackage{pstricks,multido} \begin{document} \begin{pspicture} \pswedge(0,0){2}{0}{15} \pswedge*(0,0){2}{15}{30} \pswedge(0,0){2}{30}{45} \pswedge*(0,0){2}{45}{60} \...
2k views

plotting the sequence x_n using tikz

I want to plot the sequence x_1 = \sin(pi root(2)) x_2 = \sin(pi root(6)) x_3 = \sin(pi root(12)) In short my x_n = sin( pi root(n^2 + n)). I want to plot this as an animation as n goes to infinity....
937 views

Convert pstricks animation to SVG(+SMIL)

Inspired by these questions— How to convert pstricks animation to GIF file? PSTricks to SVG —how can one convert a PSTricks animation to an animated SVG image? SVG animation would be nicer than GIF ...