X-Git-Url: https://projects.mako.cc/source/beamer-mako/blobdiff_plain/8d08accca3bdc0bed2ab98ed70640f729adf66ef..667e6d110bcc9e10ff216fc06a988cd3c9f66261:/template/example.tex

diff --git a/template/example.tex b/template/example.tex
index 09f148b..bcf1423 100644
--- a/template/example.tex
+++ b/template/example.tex
@@ -1,5 +1,9 @@
 \documentclass[xcolor=dvipsnames]{beamer}
 
+% set up the file to create notes in the output PDFs
+\usepackage{pgfpages}
+\input{notes.config}
+
 \renewcommand{\rmdefault}{ugm}
 \usepackage[garamond]{mathdesign}
 
@@ -14,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]{%
@@ -28,7 +32,7 @@
         \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}}
@@ -38,6 +42,20 @@
   };
 }
 
+% more flexible non-tikz alternative with no dropshadow 
+\newlength{\centertxtlen}
+\makeatletter
+\newcommand\centertext[2]{%
+  \setlength{\centertxtlen}{#1}%
+  \setlength{\centertxtlen}{0.35\centertxtlen}%
+  {\centering
+    \fontsize{#1}{2\centertxtlen}\selectfont
+    \e{#2}
+
+  }
+}
+
+
 % add function to stop numbering appendix slides
 \newcommand{\backupbegin}{
    \newcounter{framenumberappendix}
@@ -54,6 +72,11 @@
 % \usepackage{dcolumn}
 % \usepackage{booktabs}
 
+% replace footnotes with symbols instead of numbers
+\renewcommand*{\thefootnote}{\fnsymbol{footnote}}
+\usepackage{perpage}
+\MakePerPage{footnote}
+
 %% BEAMER THEME STUFF
 \usetheme[pageofpages=/,% String used between the current page and the
                          % total page count.
@@ -144,11 +167,9 @@
 \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
@@ -186,10 +207,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}
