From 35bdf50b4f73401f3aa5b6d687fb0afd26f0ce0d Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Sat, 14 Sep 2013 11:23:41 -0700 Subject: [PATCH] remove redundant options from the tex details --- template/example.tex | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/template/example.tex b/template/example.tex index bcf1423..477e83d 100644 --- a/template/example.tex +++ b/template/example.tex @@ -21,16 +21,10 @@ \tikzstyle{every picture}+=[overlay,remember picture] % add functions to circle parts of slides (e.g., in tables) -\newcommand\marktopleft[1]{% - \tikz[overlay,remember picture] - \node (marker-#1-a) at (0,1.5ex) {};% -} +\newcommand\marktopleft[1]{\tikz \node (marker-#1-a) at (0,1.5ex) {};} \newcommand\markbottomright[1]{% - \tikz[overlay,remember picture] - \node (marker-#1-b) at (0,0) {};% - \tikz[overlay,remember picture,dashed,inner sep=3pt] - \node[violet!75,ultra thick,draw,rounded rectangle,fit=(marker-#1-a.center) (marker-#1-b.center)] {};% -} + \tikz{\node (marker-#1-b) at (0,0) {};} + \tikz[dashed,inner sep=3pt]{\node[violet!75,ultra thick,draw,rounded rectangle,fit=(marker-#1-a.center) (marker-#1-b.center)] {};}} % DEPRECATED function to build a huge centered dropshadow \newcommand\dropshadow[3]{% @@ -42,6 +36,9 @@ }; } +% create an empty quotetxt so we can reuse it +\newcommand{\quotetxt}{} + % more flexible non-tikz alternative with no dropshadow \newlength{\centertxtlen} \makeatletter -- 2.39.5