]> projects.mako.cc - beamer-mako/blob - template/example.tex
f890b64d4ccb03f396ae0f97016ae3ccc86f3b46
[beamer-mako] / template / example.tex
1 \documentclass[xcolor=dvipsnames]{beamer}
2
3
4  \renewcommand{\rmdefault}{ugm}
5  \renewcommand{\sfdefault}{phv}
6
7 \usepackage[garamond]{mathdesign}
8
9 \usepackage{ucs}
10 \usepackage[utf8x]{inputenc}
11 \usepackage[T1]{fontenc}
12 \usepackage{textcomp}
13
14 % packages i use in essentially every document
15 \usepackage{graphicx}
16 \usepackage{url}
17
18 \usetheme[pageofpages=/,% String used between the current page and the
19                          % total page count.
20           bullet=default,% Use circles instead of squares for bullets.
21           titleline=false,% Show a line below the frame title.
22           alternativetitlepage=true,% Use the fancy title page.
23           titlepagelogo=figures/logo.pdf,% Logo for the first page.
24           %watermark=watermark-polito,% Watermark used in every page.
25           watermarkheight=100px,% Height of the watermark.
26           watermarkheightmult=4,% The watermark image is 4 times bigger
27                                 % than watermarkheight.
28           ]{Torino}
29
30 \usecolortheme{mako}
31 \useinnertheme{rectangles}
32 %\setbeamertemplate{blocks}[rounded][]
33 \setbeamercolor{block title}{bg=makopurple3, fg=White}
34
35 \setbeamertemplate{items}[default] 
36 \setbeamertemplate{blocks}[shadow=true] 
37
38
39 \usepackage{tcolorbox}
40 % These options will be applied to all `tcolorboxes`
41 \tcbset{%
42     noparskip,
43     colback=white, %background color of the box
44     colframe=makopurple1, %color of frame and title background
45     coltext=black, %color of body text
46     coltitle=white, %color of title text 
47     arc=0em,
48     left=0.1em,
49     right=0.1em,
50     fonttitle=\bfseries,
51     alerted/.style={coltitle=red, 
52                      colframe=gray!40},
53     example/.style={coltitle=black, 
54                      colframe=green!20,             
55                      colback=green!5},
56     }
57
58
59 %\useoutertheme{infolines}
60 %\usepackage[breaklinks]{hyperref}
61
62 \hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=makopurple1,
63     urlcolor=Plum, unicode=true}
64
65 % create a boldface version of the header
66 \setbeamerfont{frametitle}{series=\bfseries}
67 \setbeamerfont{title}{series=\bfseries}
68
69 % remove the nagivation symbols
70 \setbeamertemplate{navigation symbols}{}
71
72 \title{Presentation Title}
73 % \subtitle{Presentation Subtitle}
74 \author[Benj. Mako Hill]{\textbf{Benjamin Mako Hill}\\ mako@mit.edu}
75
76 \institute[MIT/Harvard]{\textbf{Massachusetts Institute of Technology}\\
77   Sloan School of Management\\
78   MIT Media Lab\\
79   \hspace{1pt}\\
80   \textbf{Harvard University}\\
81   Berkman Center for Internet and Society}
82
83 \date{December 2, 1980}
84
85 \begin{document}
86
87 %% SLIDE: Title Slide
88 \begin{frame}[plain]
89   \titlepage
90
91 % pdfpc:begin
92
93 % This is the slide 1 notes.
94
95 % pdfpc:end
96
97 \end{frame}
98
99 %% SLIDE: Slide 2
100 \begin{frame}{A sample slide, A sample slide, A sample slide, A sample
101     slide, A sample slide, A sample slide}
102
103 A displayed formula:
104
105 \[
106   \int_{-\infty}^\infty e^{-x^2} \, dx = \sqrt{\pi}
107 \]
108
109 An itemized list:
110
111 \begin{itemize}
112   \item<1-> itemized item 1
113   \item<2-> itemized item 2
114   \item<3-> itemized item 3
115 \end{itemize}
116
117 \visible<2->{
118 \begin{tcolorbox}[title={Foo, Bar, Baz}]
119   \emph{In a right triangle, the square of hypotenuse equals
120   the sum of squares of two other sides.}
121 \end{tcolorbox}
122 }
123
124 % pdfpc:begin
125 % This is the slide 2 notes.
126 % pdfpc:end
127
128 \end{frame}
129
130 \begin{frame}{A sample slide}
131 % pdfpc:begin
132 % This is the slide 3 notes.
133 % pdfpc:end
134 \end{frame}
135
136
137 \end{document}

Benjamin Mako Hill || Want to submit a patch?