[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating animated gif from latex src blocks
From: |
Edouard Debry |
Subject: |
Re: Creating animated gif from latex src blocks |
Date: |
Sun, 19 Jun 2022 16:03:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) |
Here is what I am able to do :
- write a latex src block with several tikz blocks inside (as described
in the tex.stackexchange link)
- export in a gif with pdf+imagmagick
- open the gif in emacs and start the animation
- insert the gif into the org file and start animation
But there is a trick for this to work, the default latex header is
"\\documentclass{article} ...", which fails but, replacing it
by "\\documentclass[tikz]{standalone} ..." succeeds.
Regards
"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:
> On Saturday, 18 Jun 2022 at 00:26, Edouard Debry wrote:
>> As a matter of fact, you can, but I will check out the latex package you
>> mentioned
>>
>> "Fraga, Eric" <e.fraga@ucl.ac.uk> writes:
>>
>>> Check out the animate LaTeX package. I don't believe you can create
>>> such the actual animation from tikz itself.
>
> Clarification: I believe(d) that you cannot generate an animated GIF;
> animation is possible, of course. But if you can generate an animated
> GIF directly from tikz, please let me know how as it would be useful in
> some cases.
>
> Thank you,
> eric