1 \documentclass[xcolor=dvipsnames]{beamer}
3 % set up the file to create notes in the output PDFs
7 \renewcommand{\rmdefault}{ugm}
8 \usepackage[garamond]{mathdesign}
10 \renewcommand{\sfdefault}{phv}
14 \usepackage[utf8x]{inputenc}
15 \usepackage[T1]{fontenc}
18 % add tikz and a bunch of tikz foo
20 \usetikzlibrary{shapes,shapes.misc,backgrounds,fit,positioning}
21 \tikzstyle{every picture}+=[overlay,remember picture]
23 % add functions to circle parts of slides (e.g., in tables)
24 \newcommand\marktopleft[1]{%
25 \tikz[overlay,remember picture]
26 \node (marker-#1-a) at (0,1.5ex) {};%
28 \newcommand\markbottomright[1]{%
29 \tikz[overlay,remember picture]
30 \node (marker-#1-b) at (0,0) {};%
31 \tikz[overlay,remember picture,dashed,inner sep=3pt]
32 \node[violet!75,ultra thick,draw,rounded rectangle,fit=(marker-#1-a.center) (marker-#1-b.center)] {};%
35 % DEPRECATED function to build a huge centered dropshadow
36 \newcommand\dropshadow[3]{%
37 \node[black!30!white] at (#1+0.1,#2-0.1) {
38 \scalebox{2}{\Huge \textbf{#3}}
41 \scalebox{2}{\Huge \e{#3}}
45 % more flexible non-tikz alternative with no dropshadow
46 \newlength{\centertxtlen}
48 \newcommand\centertext[2]{%
49 \setlength{\centertxtlen}{#1}%
50 \setlength{\centertxtlen}{0.35\centertxtlen}%
52 \fontsize{#1}{2\centertxtlen}\selectfont
59 % add function to stop numbering appendix slides
60 \newcommand{\backupbegin}{
61 \newcounter{framenumberappendix}
62 \setcounter{framenumberappendix}{\value{framenumber}}
64 \newcommand{\backupend}{
65 \addtocounter{framenumberappendix}{-\value{framenumber}}
66 \addtocounter{framenumber}{\value{framenumberappendix}}
69 % packages i use in essentially every document
72 % \usepackage{dcolumn}
73 % \usepackage{booktabs}
75 % replace footnotes with symbols instead of numbers
76 \renewcommand*{\thefootnote}{\fnsymbol{footnote}}
78 \MakePerPage{footnote}
81 \usetheme[pageofpages=/,% String used between the current page and the
83 bullet=default,% Use circles instead of squares for bullets.
84 titleline=false,% Show a line below the frame title.
85 alternativetitlepage=true,% Use the fancy title page.
86 titlepagelogo=figures/logo.pdf,% Logo for the first page.
87 %watermark=watermark-polito,% Watermark used in every page.
88 watermarkheight=100px,% Height of the watermark.
89 watermarkheightmult=4,% The watermark image is 4 times bigger
90 % than watermarkheight.
94 \useinnertheme{rectangles}
95 %\setbeamertemplate{blocks}[rounded][]
96 \setbeamercolor{block title}{bg=makopurple3, fg=White}
98 \setbeamertemplate{items}[default]
99 \setbeamertemplate{blocks}[shadow=true]
101 \usepackage{tcolorbox}
102 % These options will be applied to all `tcolorboxes`
105 colback=makopurple5, %background color of the box
106 colframe=makopurple1, %color of frame and title background
107 coltext=black, %color of body text
108 coltitle=white, %color of title text
113 alerted/.style={coltitle=red,
115 example/.style={coltitle=black,
121 %\useoutertheme{infolines}
122 %\usepackage[breaklinks]{hyperref}
124 \hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=makopurple1,
125 urlcolor=Plum, unicode=true}
127 % create a boldface version of the header
128 \setbeamerfont{frametitle}{series=\bfseries}
129 \setbeamerfont{title}{series=\bfseries}
131 % tweak the beamer font to make it a bit lists a bit smaller
132 \setbeamerfont*{itemize/enumerate body}{size=\small}
133 \setbeamerfont*{itemize/enumerate subbody}{size=\footnotesize}
134 \setbeamerfont*{itemize/enumerate subsubbody}{size=\footnotesize}
136 % indent the margins of the itemize lists a little bit
137 \setlength{\leftmargin}{0pt}
138 \setlength{\leftmargini}{0.7cm}
139 \setlength{\leftmarginii}{0.7cm}
141 % create a new \e{} command to make things purple and bold
142 \newcommand{\e}[1]{\textcolor{makopurple1}{\textbf{#1}}}
144 % remove the nagivation symbols
145 \setbeamertemplate{navigation symbols}{}
147 \title{Presentation Title}
148 % \subtitle{Presentation Subtitle}
149 \author[Benj. Mako Hill]{\textbf{Benjamin Mako Hill}\\ mako@mit.edu}
151 \institute[MIT/Harvard]{\textbf{Massachusetts Institute of Technology}\\
152 Sloan School of Management\\
155 \textbf{Harvard University}\\
156 Berkman Center for Internet and Society}
158 \date{December 2, 1980}
162 % remove some of the space in the itemize to make it quite compact
163 \let\olditemize\itemize
164 \renewcommand\itemize{\olditemize\itemsep-1pt}
166 %% SLIDE: Title Slide
170 \node at (current page.center) [xshift=-3.5cm, yshift=0.5cm, opacity=0.4]
171 {\includegraphics[height=\paperheight]{figures/wikimedia_projects.png}};
174 \node at (current page.south east)
175 [anchor=south east,text width=1.8\paperwidth,align=right,color=black]
178 \fontsize{2.5em}{2.5em}
179 \selectfont {\bf \color{makopurple4} The State of Wikimedia\\
180 Research: 2012-2013} \par}
185 \fontsize{2.0em}{2.1em}
186 \selectfont {\bf \color{black} Benjamin Mako Hill\\
187 Wikimania 2013, Hong Kong\\
188 August 6, 2013} \par}
194 \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)}};}