1 \documentclass[xcolor=dvipsnames]{beamer}
3 \renewcommand{\rmdefault}{ugm}
4 \usepackage[garamond]{mathdesign}
6 \renewcommand{\sfdefault}{phv}
10 \usepackage[utf8x]{inputenc}
11 \usepackage[T1]{fontenc}
14 % add tikz and a bunch of tikz foo
16 \usetikzlibrary{shapes,shapes.misc,backgrounds,fit,positioning}
17 \tikzstyle{every picture}+=[remember picture]
19 % add functions to circle parts of slides (e.g., in tables)
20 \newcommand\marktopleft[1]{%
21 \tikz[overlay,remember picture]
22 \node (marker-#1-a) at (0,1.5ex) {};%
24 \newcommand\markbottomright[1]{%
25 \tikz[overlay,remember picture]
26 \node (marker-#1-b) at (0,0) {};%
27 \tikz[overlay,remember picture,dashed,inner sep=3pt]
28 \node[violet!75,ultra thick,draw,rounded rectangle,fit=(marker-#1-a.center) (marker-#1-b.center)] {};%
31 % add function to build a huge centered dropshadow
32 \newcommand\dropshadow[3]{%
33 \node[black!30!white] at (#1+0.1,#2-0.1) {
34 \scalebox{2}{\Huge \textbf{#3}}
37 \scalebox{2}{\Huge \e{#3}}
41 % add function to stop numbering appendix slides
42 \newcommand{\backupbegin}{
43 \newcounter{framenumberappendix}
44 \setcounter{framenumberappendix}{\value{framenumber}}
46 \newcommand{\backupend}{
47 \addtocounter{framenumberappendix}{-\value{framenumber}}
48 \addtocounter{framenumber}{\value{framenumberappendix}}
51 % packages i use in essentially every document
54 % \usepackage{dcolumn}
55 % \usepackage{booktabs}
58 \usetheme[pageofpages=/,% String used between the current page and the
60 bullet=default,% Use circles instead of squares for bullets.
61 titleline=false,% Show a line below the frame title.
62 alternativetitlepage=true,% Use the fancy title page.
63 titlepagelogo=figures/logo.pdf,% Logo for the first page.
64 %watermark=watermark-polito,% Watermark used in every page.
65 watermarkheight=100px,% Height of the watermark.
66 watermarkheightmult=4,% The watermark image is 4 times bigger
67 % than watermarkheight.
71 \useinnertheme{rectangles}
72 %\setbeamertemplate{blocks}[rounded][]
73 \setbeamercolor{block title}{bg=makopurple3, fg=White}
75 \setbeamertemplate{items}[default]
76 \setbeamertemplate{blocks}[shadow=true]
78 \usepackage{tcolorbox}
79 % These options will be applied to all `tcolorboxes`
82 colback=makopurple5, %background color of the box
83 colframe=makopurple1, %color of frame and title background
84 coltext=black, %color of body text
85 coltitle=white, %color of title text
90 alerted/.style={coltitle=red,
92 example/.style={coltitle=black,
98 %\useoutertheme{infolines}
99 %\usepackage[breaklinks]{hyperref}
101 \hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=makopurple1,
102 urlcolor=Plum, unicode=true}
104 % create a boldface version of the header
105 \setbeamerfont{frametitle}{series=\bfseries}
106 \setbeamerfont{title}{series=\bfseries}
108 % tweak the beamer font to make it a bit lists a bit smaller
109 \setbeamerfont*{itemize/enumerate body}{size=\small}
110 \setbeamerfont*{itemize/enumerate subbody}{size=\footnotesize}
111 \setbeamerfont*{itemize/enumerate subsubbody}{size=\footnotesize}
113 % indent the margins of the itemize lists a little bit
114 \setlength{\leftmargin}{0pt}
115 \setlength{\leftmargini}{0.7cm}
116 \setlength{\leftmarginii}{0.7cm}
118 % create a new \e{} command to make things purple and bold
119 \newcommand{\e}[1]{\textcolor{makopurple1}{\textbf{#1}}}
121 % remove the nagivation symbols
122 \setbeamertemplate{navigation symbols}{}
124 \title{Presentation Title}
125 % \subtitle{Presentation Subtitle}
126 \author[Benj. Mako Hill]{\textbf{Benjamin Mako Hill}\\ mako@mit.edu}
128 \institute[MIT/Harvard]{\textbf{Massachusetts Institute of Technology}\\
129 Sloan School of Management\\
132 \textbf{Harvard University}\\
133 Berkman Center for Internet and Society}
135 \date{December 2, 1980}
139 % remove some of the space in the itemize to make it quite compact
140 \let\olditemize\itemize
141 \renewcommand\itemize{\olditemize\itemsep-1pt}
143 %% SLIDE: Title Slide
149 % This is the slide 1 notes.
155 \begin{frame}{A sample slide, A sample slide, A sample slide, A sample
156 slide, A sample slide, A sample slide}
161 \int_{-\infty}^\infty e^{-x^2} \, dx = \sqrt{\pi}
167 \item<1-> itemized item 1
168 \item<2-> itemized item 2
169 \item<3-> itemized item 3
173 \begin{tcolorbox}[title={Foo, Bar, Baz}]
174 \emph{In a right triangle, the square of hypotenuse equals
175 the sum of squares of two other sides.}
180 % This is the slide 2 notes.
189 \begin{tikzpicture}[remember picture,overlay,shift={(current page.center)}]
190 \dropshadow{0}{0.7}{Example and}
191 \dropshadow{0}{-.7}{Data Appendix}
195 \begin{frame}{A sample slide}
199 % This is the slide 3 notes.