X-Git-Url: https://projects.mako.cc/source/beamer-mako/blobdiff_plain/c22192f9ca5256f5c3ec82bc3ae7271bf6d1104e..ee05edb58ec26b6ce5b44ad00cb91471a0b1a73a:/template/example.tex

diff --git a/template/example.tex b/template/example.tex
index c1a4193..76a7d32 100644
--- a/template/example.tex
+++ b/template/example.tex
@@ -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
