X-Git-Url: https://projects.mako.cc/source/beamer-mako/blobdiff_plain/c22192f9ca5256f5c3ec82bc3ae7271bf6d1104e..667e6d110bcc9e10ff216fc06a988cd3c9f66261:/template/example.tex diff --git a/template/example.tex b/template/example.tex index c1a4193..bcf1423 100644 --- a/template/example.tex +++ b/template/example.tex @@ -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]{% @@ -43,17 +43,16 @@ } % 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} + } }