add overlay as a default TiKZ option
[beamer-mako] / template / example.tex
index c1a41931fef5b20c7ea21858862fac7d0462ea6e..bcf14232d106a8a44a6c1f27777ea6cf4b1d5d56 100644 (file)
@@ -18,7 +18,7 @@
 % add tikz and a bunch of tikz foo
 \usepackage{tikz}
 \usetikzlibrary{shapes,shapes.misc,backgrounds,fit,positioning}
-\tikzstyle{every picture}+=[remember picture]
+\tikzstyle{every picture}+=[overlay,remember picture]
 
 % add functions to circle parts of slides (e.g., in tables)
 \newcommand\marktopleft[1]{%
 }
 
 % more flexible non-tikz alternative with no dropshadow 
+\newlength{\centertxtlen}
+\makeatletter
 \newcommand\centertext[2]{%
-  \newlength{\centertxtlen}
-  \makeatletter
   \setlength{\centertxtlen}{#1}%
   \setlength{\centertxtlen}{0.35\centertxtlen}%
   {\centering
     \fontsize{#1}{2\centertxtlen}\selectfont
     \e{#2}
 
-}
-%  \end{center}
+  }
 }
 
 

Benjamin Mako Hill || Want to submit a patch?