added .gitignore file
[beamer-mako] / template / example.tex
index 360ca29cf1b315d6dd03eefa4ca202ca0492a66b..8b48ae4c4a13630d907a00179133d67005921e08 100644 (file)
@@ -2,9 +2,7 @@
 
 % set up the file to create notes in the output PDFs
 \usepackage{pgfpages}
-\setbeameroption{show notes on second screen} % for pdfpc -n right
-% \setbeameroption{show notes} % place notes on the second slide
-% \setbeameroption{show only notes} % for making printouts
+\input{notes.config}
 
 \renewcommand{\rmdefault}{ugm}
 \usepackage[garamond]{mathdesign}
 % 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)] {};}}
 
-% add function to build a huge centered dropshadow
+% DEPRECATED function to build a huge centered dropshadow
 \newcommand\dropshadow[3]{%
   \node[black!30!white] at (#1+0.1,#2-0.1) {
     \scalebox{2}{\Huge \textbf{#3}}
   };
 }
 
+% 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.48\centertxtlen}%
+  {\centering
+    \fontsize{#1}{2\centertxtlen}\selectfont
+    \e{#2}
+
+  }
+}
+
+
 % add function to stop numbering appendix slides
 \newcommand{\backupbegin}{
    \newcounter{framenumberappendix}
 
 \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[MIT/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}
 
 \begin{frame}[plain]
   \titlepage
 
-% pdfpc:begin
-% 
-% This is the slide 1 notes.
-
-% pdfpc:end
+% 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)}};} 
 \end{frame}
 
 %% SLIDE: Slide 2
@@ -197,10 +205,7 @@ An itemized list:
 \backupbegin
 
 \begin{frame}[plain]
-\begin{tikzpicture}[remember picture,overlay,shift={(current page.center)}]
-\dropshadow{0}{0.7}{Example and}
-\dropshadow{0}{-.7}{Data Appendix}
-\end{tikzpicture}
+\centertext{7em}{Example and Data Appendix}
 \end{frame}
 
 \begin{frame}{A sample slide}
@@ -213,3 +218,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

Benjamin Mako Hill || Want to submit a patch?