1 \documentclass[xcolor=dvipsnames]{beamer}
3 % set up the file to create notes in the output PDFs
5 \setbeameroption{show notes on second screen} % for pdfpc -n right
6 % \setbeameroption{show notes} % place notes on the second slide
7 % \setbeameroption{show only notes} % for making printouts
9 \renewcommand{\rmdefault}{ugm}
10 \usepackage[garamond]{mathdesign}
12 \renewcommand{\sfdefault}{phv}
16 \usepackage[utf8x]{inputenc}
17 \usepackage[T1]{fontenc}
20 % add tikz and a bunch of tikz foo
22 \usetikzlibrary{shapes,shapes.misc,backgrounds,fit,positioning}
23 \tikzstyle{every picture}+=[remember picture]
25 % add functions to circle parts of slides (e.g., in tables)
26 \newcommand\marktopleft[1]{%
27 \tikz[overlay,remember picture]
28 \node (marker-#1-a) at (0,1.5ex) {};%
30 \newcommand\markbottomright[1]{%
31 \tikz[overlay,remember picture]
32 \node (marker-#1-b) at (0,0) {};%
33 \tikz[overlay,remember picture,dashed,inner sep=3pt]
34 \node[violet!75,ultra thick,draw,rounded rectangle,fit=(marker-#1-a.center) (marker-#1-b.center)] {};%
37 % add function to build a huge centered dropshadow
38 \newcommand\dropshadow[3]{%
39 \node[black!30!white] at (#1+0.1,#2-0.1) {
40 \scalebox{2}{\Huge \textbf{#3}}
43 \scalebox{2}{\Huge \e{#3}}
47 % add function to stop numbering appendix slides
48 \newcommand{\backupbegin}{
49 \newcounter{framenumberappendix}
50 \setcounter{framenumberappendix}{\value{framenumber}}
52 \newcommand{\backupend}{
53 \addtocounter{framenumberappendix}{-\value{framenumber}}
54 \addtocounter{framenumber}{\value{framenumberappendix}}
57 % packages i use in essentially every document
60 % \usepackage{dcolumn}
61 % \usepackage{booktabs}
63 % replace footnotes with symbols instead of numbers
64 \renewcommand*{\thefootnote}{\fnsymbol{footnote}}
66 \MakePerPage{footnote}
69 \usetheme[pageofpages=/,% String used between the current page and the
71 bullet=default,% Use circles instead of squares for bullets.
72 titleline=false,% Show a line below the frame title.
73 alternativetitlepage=true,% Use the fancy title page.
74 titlepagelogo=figures/logo.pdf,% Logo for the first page.
75 %watermark=watermark-polito,% Watermark used in every page.
76 watermarkheight=100px,% Height of the watermark.
77 watermarkheightmult=4,% The watermark image is 4 times bigger
78 % than watermarkheight.
82 \useinnertheme{rectangles}
83 %\setbeamertemplate{blocks}[rounded][]
84 \setbeamercolor{block title}{bg=makopurple3, fg=White}
86 \setbeamertemplate{items}[default]
87 \setbeamertemplate{blocks}[shadow=true]
89 \usepackage{tcolorbox}
90 % These options will be applied to all `tcolorboxes`
93 colback=makopurple5, %background color of the box
94 colframe=makopurple1, %color of frame and title background
95 coltext=black, %color of body text
96 coltitle=white, %color of title text
101 alerted/.style={coltitle=red,
103 example/.style={coltitle=black,
109 %\useoutertheme{infolines}
110 %\usepackage[breaklinks]{hyperref}
112 \hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=makopurple1,
113 urlcolor=Plum, unicode=true}
115 % create a boldface version of the header
116 \setbeamerfont{frametitle}{series=\bfseries}
117 \setbeamerfont{title}{series=\bfseries}
119 % tweak the beamer font to make it a bit lists a bit smaller
120 \setbeamerfont*{itemize/enumerate body}{size=\small}
121 \setbeamerfont*{itemize/enumerate subbody}{size=\footnotesize}
122 \setbeamerfont*{itemize/enumerate subsubbody}{size=\footnotesize}
124 % indent the margins of the itemize lists a little bit
125 \setlength{\leftmargin}{0pt}
126 \setlength{\leftmargini}{0.7cm}
127 \setlength{\leftmarginii}{0.7cm}
129 % create a new \e{} command to make things purple and bold
130 \newcommand{\e}[1]{\textcolor{makopurple1}{\textbf{#1}}}
132 % remove the nagivation symbols
133 \setbeamertemplate{navigation symbols}{}
135 \title{Presentation Title}
136 % \subtitle{Presentation Subtitle}
137 \author[Benj. Mako Hill]{\textbf{Benjamin Mako Hill}\\ mako@mit.edu}
139 \institute[MIT/Harvard]{\textbf{Massachusetts Institute of Technology}\\
140 Sloan School of Management\\
143 \textbf{Harvard University}\\
144 Berkman Center for Internet and Society}
146 \date{December 2, 1980}
150 % remove some of the space in the itemize to make it quite compact
151 \let\olditemize\itemize
152 \renewcommand\itemize{\olditemize\itemsep-1pt}
154 %% SLIDE: Title Slide
160 % This is the slide 1 notes.
166 \begin{frame}{A sample slide, A sample slide, A sample slide, A sample
167 slide, A sample slide, A sample slide}
172 \int_{-\infty}^\infty e^{-x^2} \, dx = \sqrt{\pi}
178 \item<1-> itemized item 1
179 \item<2-> itemized item 2
180 \item<3-> itemized item 3
184 \begin{tcolorbox}[title={Foo, Bar, Baz}]
185 \emph{In a right triangle, the square of hypotenuse equals
186 the sum of squares of two other sides.}
191 % This is the slide 2 notes.
200 \begin{tikzpicture}[remember picture,overlay,shift={(current page.center)}]
201 \dropshadow{0}{0.7}{Example and}
202 \dropshadow{0}{-.7}{Data Appendix}
206 \begin{frame}{A sample slide}
210 % This is the slide 3 notes.