20
0
Files
cdsc_tex/slides_template/example.tex

138 lines
3.3 KiB
TeX

\documentclass[xcolor=dvipsnames]{beamer}
\renewcommand{\rmdefault}{ugm}
\renewcommand{\sfdefault}{phv}
\usepackage[garamond]{mathdesign}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
% packages i use in essentially every document
\usepackage{graphicx}
\usepackage{url}
\usetheme[pageofpages=/,% String used between the current page and the
% total page count.
bullet=default,% Use circles instead of squares for bullets.
titleline=false,% Show a line below the frame title.
alternativetitlepage=true,% Use the fancy title page.
titlepagelogo=figures/logo.pdf,% Logo for the first page.
%watermark=watermark-polito,% Watermark used in every page.
watermarkheight=100px,% Height of the watermark.
watermarkheightmult=4,% The watermark image is 4 times bigger
% than watermarkheight.
]{Torino}
\usecolortheme{mako}
\useinnertheme{rectangles}
%\setbeamertemplate{blocks}[rounded][]
\setbeamercolor{block title}{bg=makopurple3, fg=White}
\setbeamertemplate{items}[default]
\setbeamertemplate{blocks}[shadow=true]
\usepackage{tcolorbox}
% These options will be applied to all `tcolorboxes`
\tcbset{%
noparskip,
colback=white, %background color of the box
colframe=makopurple1, %color of frame and title background
coltext=black, %color of body text
coltitle=white, %color of title text
arc=0em,
left=0.1em,
right=0.1em,
fonttitle=\bfseries,
alerted/.style={coltitle=red,
colframe=gray!40},
example/.style={coltitle=black,
colframe=green!20,
colback=green!5},
}
%\useoutertheme{infolines}
%\usepackage[breaklinks]{hyperref}
\hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=makopurple1,
urlcolor=Plum, unicode=true}
% create a boldface version of the header
\setbeamerfont{frametitle}{series=\bfseries}
\setbeamerfont{title}{series=\bfseries}
% remove the nagivation symbols
\setbeamertemplate{navigation symbols}{}
\title{Presentation Title}
% \subtitle{Presentation Subtitle}
\author[Benj. Mako Hill]{\textbf{Benjamin Mako Hill}\\ mako@mit.edu}
\institute[MIT/Harvard]{\textbf{Massachusetts Institute of Technology}\\
Sloan School of Management\\
MIT Media Lab\\
\hspace{1pt}\\
\textbf{Harvard University}\\
Berkman Center for Internet and Society}
\date{December 2, 1980}
\begin{document}
%% SLIDE: Title Slide
\begin{frame}[plain]
\titlepage
% pdfpc:begin
%
% This is the slide 1 notes.
% pdfpc:end
\end{frame}
%% SLIDE: Slide 2
\begin{frame}{A sample slide, A sample slide, A sample slide, A sample
slide, A sample slide, A sample slide}
A displayed formula:
\[
\int_{-\infty}^\infty e^{-x^2} \, dx = \sqrt{\pi}
\]
An itemized list:
\begin{itemize}
\item<1-> itemized item 1
\item<2-> itemized item 2
\item<3-> itemized item 3
\end{itemize}
\visible<2->{
\begin{tcolorbox}[title={Foo, Bar, Baz}]
\emph{In a right triangle, the square of hypotenuse equals
the sum of squares of two other sides.}
\end{tcolorbox}
}
% pdfpc:begin
% This is the slide 2 notes.
% pdfpc:end
\end{frame}
\begin{frame}{A sample slide}
% pdfpc:begin
% This is the slide 3 notes.
% pdfpc:end
\end{frame}
\end{document}