X-Git-Url: https://projects.mako.cc/source/beamer-mako/blobdiff_plain/c22192f9ca5256f5c3ec82bc3ae7271bf6d1104e..bbd9dc1ce2a325282bf3ce7a0c5b2955da21ab58:/template/example.tex?ds=inline diff --git a/template/example.tex b/template/example.tex index c1a4193..975bb96 100644 --- a/template/example.tex +++ b/template/example.tex @@ -18,19 +18,13 @@ % 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]{% - \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,18 +36,20 @@ }; } +% create an empty quotetxt so we can reuse it +\newcommand{\quotetxt}{} + % 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}% + \setlength{\centertxtlen}{0.48\centertxtlen}% {\centering \fontsize{#1}{2\centertxtlen}\selectfont \e{#2} -} -% \end{center} + } } @@ -147,17 +143,23 @@ \title{Presentation Title} % \subtitle{Presentation Subtitle} -\author[Benj. Mako Hill]{\textbf{Benjamin Mako Hill}\\ mako@mit.edu} +\author[Benj. Mako Hill]{\textbf{Benjamin Mako Hill}\\ makohill@uw.edu} -\institute[MIT/Harvard]{\textbf{Massachusetts Institute of Technology}\\ - Sloan School of Management\\ - MIT Media Lab\\ +\institute[UW/Harvard]{\textbf{University of Washington}\\ + Department of Communication\\ + \emph{Acting Assistant Professor}\\ \hspace{1pt}\\ \textbf{Harvard University}\\ - Berkman Center for Internet and Society} + Berkman Center for Internet and Society\\ + \emph{Resident Fellow}} \date{December 2, 1980} +\newcommand{\credit}[1]{% + \tikz[overlay]{\node at (current page.south east) + [anchor=south east,yshift=1.1em,xshift=0.35em] + {\smaller \smaller {[}#1{]}};}} + \begin{document} % remove some of the space in the itemize to make it quite compact @@ -221,3 +223,10 @@ Final Sample Slide \backupend \end{document} + +% LocalWords: xcolor dvipsnames beamer ugm phv sep pageofpages px +% LocalWords: titleline alternativetitlepage titlepagelogo Torino +% LocalWords: watermarkheight watermarkheightmult bg makopurple fg +% LocalWords: noparskip colback colframe coltext coltitle fonttitle +% LocalWords: colorlinks linkcolor citecolor filecolor urlcolor +% LocalWords: unicode frametitle subbody subsubbody