X-Git-Url: https://projects.mako.cc/source/beamer-mako/blobdiff_plain/667e6d110bcc9e10ff216fc06a988cd3c9f66261..93967b872d86e45435270b05f7cad270e33352c0:/template/example.tex diff --git a/template/example.tex b/template/example.tex index bcf1423..0b1ff41 100644 --- a/template/example.tex +++ b/template/example.tex @@ -4,9 +4,6 @@ \usepackage{pgfpages} \input{notes.config} -\renewcommand{\rmdefault}{ugm} -\usepackage[garamond]{mathdesign} - \renewcommand{\sfdefault}{phv} \usepackage{relsize} @@ -21,16 +18,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,12 +33,15 @@ }; } +% 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]{% \setlength{\centertxtlen}{#1}% - \setlength{\centertxtlen}{0.35\centertxtlen}% + \setlength{\centertxtlen}{0.48\centertxtlen}% {\centering \fontsize{#1}{2\centertxtlen}\selectfont \e{#2} @@ -146,17 +140,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{Assistant Professor}\\ \hspace{1pt}\\ \textbf{Harvard University}\\ - Berkman Center for Internet and Society} + Berkman Klein Center\\ + \emph{Faculty Associate}} \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 @@ -169,7 +169,7 @@ % include version control stuff \input{vc} -\tikz[overlay,shift=(current page.south west)]{\node [xshift=5.6em,yshift=0.5em]{\colorbox{makopurple1}{\color{white} \tt \smaller \smaller \smaller revision:\ \VCRevision\ (\VCDateTEX)}};} +\tikz[overlay]{\node at (current page.south west) [anchor=south west, xshift=-4pt, yshift=-4pt]{\colorbox{makopurple1}{\color{white} \tt \smaller \smaller \smaller revision:\ \VCRevision\ (\VCDateTEX)}};} \end{frame} %% SLIDE: Slide 2 @@ -197,10 +197,7 @@ An itemized list: \end{tcolorbox} } -% pdfpc:begin -% This is the slide 2 notes. -% pdfpc:end - +\note{These are the slide 2 notes.} \end{frame} \appendix @@ -213,10 +210,15 @@ An itemized list: \begin{frame}{A sample slide} Final Sample Slide -% pdfpc:begin -% This is the slide 3 notes. -% pdfpc:end +\note{These are the slide 4 notes.} \end{frame} \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