]> projects.mako.cc - beamer-mako/commitdiff
minor bug fix
authorBenjamin Mako Hill <mako@atdot.cc>
Sun, 7 Apr 2013 21:09:15 +0000 (17:09 -0400)
committerBenjamin Mako Hill <mako@atdot.cc>
Sun, 7 Apr 2013 21:09:15 +0000 (17:09 -0400)
template/example.tex

index c1a41931fef5b20c7ea21858862fac7d0462ea6e..76a7d32680ba8859ff1653db1aecf5f660e86736 100644 (file)
@@ -43,9 +43,9 @@
 }
 
 % more flexible non-tikz alternative with no dropshadow 
 }
 
 % more flexible non-tikz alternative with no dropshadow 
+\newlength{\centertxtlen}
+\makeatletter
 \newcommand\centertext[2]{%
 \newcommand\centertext[2]{%
-  \newlength{\centertxtlen}
-  \makeatletter
   \setlength{\centertxtlen}{#1}%
   \setlength{\centertxtlen}{0.35\centertxtlen}%
   {\centering
   \setlength{\centertxtlen}{#1}%
   \setlength{\centertxtlen}{0.35\centertxtlen}%
   {\centering

Benjamin Mako Hill || Want to submit a patch?