Search found 3 matches

by m_d6712
Tue Apr 07, 2015 4:50 pm
Forum: Graphics, Figures & Tables
Topic: Duplicate Tikz images
Replies: 4
Views: 4465

Duplicate Tikz images

Johannes_B wrote:You could compile the image externally and include the image multiple times. If the image changes, do a fresh compile.

Or use the tikz library externalize. Depending on how many different tikz-pictures are involved, the first approach would be simpler.

Thanks,
The library should work.
by m_d6712
Tue Apr 07, 2015 4:01 pm
Forum: Graphics, Figures & Tables
Topic: Duplicate Tikz images
Replies: 4
Views: 4465

Duplicate Tikz images

Welcome to the forum!

You could simply define a macro via \newcommand , which contains the TikZ-Code. Another possibility would be saving the TikZ picture in a box and printing that on various slides, but I think the macro version is fine. And it's the usual LaTeX way.

Stefan


Thank you for ...
by m_d6712
Tue Apr 07, 2015 3:37 pm
Forum: Graphics, Figures & Tables
Topic: Duplicate Tikz images
Replies: 4
Views: 4465

Duplicate Tikz images

I have a tikz image in one of the slides in my beamer.
I need to duplicate this image in many other slides. I want to avoid repeating the whole code again and again. Is there any way to force latex to compile the picture once and use it in many places?

\usepackage{tikz}
\usepackage{tikz-timing ...