]> projects.mako.cc - beamer-mako/blobdiff - template/example.tex
minor bug fix
[beamer-mako] / template / example.tex
index c1a41931fef5b20c7ea21858862fac7d0462ea6e..76a7d32680ba8859ff1653db1aecf5f660e86736 100644 (file)
@@ -43,9 +43,9 @@
 }
 
 % 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

Benjamin Mako Hill || Want to submit a patch?