Dienstag, 13. August 2013

Latex beamer uncover image function

Function for latex beamer

reserveandshow allows to uncover pictures in latex beamer on a certain slide, but still reserving the space via the \phantom command on the slides specified.
Only the none \phantom picture will be shown on the handout

 % reserveandshow! uncover figure at some point  
 \newcommand{\reserveandshow}[4]{%  
 \phantom{\includegraphics<#2|handout:0>[#3]{#4}}%  
 \includegraphics<#1|handout:1>[#3]{#4}}  


Usage:
\reserveandshow{1}{2-}[size]{image}  

Keine Kommentare:

Kommentar veröffentlichen