Skip to content

Do tikz picture with beamer onslide functionality.

Notifications You must be signed in to change notification settings

ekiim/tikz-beamer-hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tikz Beamer Hack for progressive drawing

Example Document, an uncomplicated example, to showcase the idea of what is possible.

We show a cartesian plane, it's grid, two points and a line segment joining them (per slide).

In Beamer, there is a functionality called \onslide that allows you to progressively display the content of a frame, and it ultimately produces multiple pages on the PDF.

The frame is pretty much the slide "page".

In several cases, I found myself in the situation where I needed to copy most of the Tikz pictures from one file to another just because I wanted to experiment or do a minor variation of the same drawing, and If I wanted to introduce changes to the common elements between all the variants, It became a pain to modify 10+ files.

With the class provided here, I resolve this problem by allowing me to share parts of the same Tikz picture and produce multiple images in a relatively fast way. The downside is that I need to know ahead of time the final size of the Tikz picture (which seems like a low toll to pay).

To achive this I set up a class file, that you can use as your document class, that will automagically use beamer, but it will get you a whiteboard to start drawing.

It is important to set the geometry of your drawing, and I highly recommend using the clip rectangle to match the exact size of your image, please consider that if you do a Tikz picture with scale, you'll need to adjust for scale (otherwise you'll have parts of the picture that do not fit the page)

About

Do tikz picture with beamer onslide functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published