Révision | d80b5df507ea2a621aae967c0ab412dccb254148 |
---|---|
Taille | 3,953 octets |
l'heure | 2018-02-25 07:05:39 |
Auteur | Lorenzo Isella |
Message de Log | Now the blackboard effect is complete. |
\documentclass[12pt]{beamer}
\usepackage{graphicx}
% \usepackage[T1]{fontenc}
\usepackage{emerald}
\usepackage{tikz}
\usetheme{default}
\beamertemplatenavigationsymbolsempty
\hypersetup{pdfpagemode=UseNone} % don't show bookmarks on initial view
% named colors
\definecolor{offwhite}{RGB}{249,242,215}
\definecolor{foreground}{RGB}{255,255,255}
\definecolor{background}{RGB}{24,24,24}
\definecolor{title}{RGB}{107,174,214}
\definecolor{gray}{RGB}{155,155,155}
\definecolor{subtitle}{RGB}{102,255,204}
\definecolor{hilight}{RGB}{102,255,204}
\definecolor{vhilight}{RGB}{255,111,207}
\definecolor{lolight}{RGB}{155,155,155}
%\definecolor{green}{RGB}{125,250,125}
% use those colors
\setbeamercolor{titlelike}{fg=title}
\setbeamercolor{subtitle}{fg=subtitle}
\setbeamercolor{institute}{fg=gray}
\setbeamercolor{normal text}{fg=foreground,bg=background}
\setbeamercolor{item}{fg=foreground} % color of bullets
\setbeamercolor{subitem}{fg=gray}
\setbeamercolor{itemize/enumerate subbody}{fg=gray}
\setbeamertemplate{itemize subitem}{{\textendash}}
\setbeamerfont{itemize/enumerate subbody}{size=\footnotesize}
\setbeamerfont{itemize/enumerate subitem}{size=\footnotesize}
%% Grey (gray) Background Colour
\setbeamercolor{background canvas}{bg=gray!30!black}
%% Random Dust Trails
%\pgfmathsetseed{\number\pdfrandomseed} % seed for random generator
\setbeamertemplate{background}{
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle (\the\paperwidth, \the\paperheight);
\foreach \i in {1,...,30} {
\pgfmathsetmacro{\x}{random(0,10000)/5000-1}%
\pgfmathsetmacro{\y}{random(0,10000)/10000-0.1}%
\pgfmathsetmacro{\r}{random(0,10000)/1000-5}%
\rotatebox{\r}{
\pgftext[at=\pgfpoint{\x\paperwidth}{\y\paperheight}, left, base]{\includegraphics[width=\textwidth]{paintstroke.png}}
}
};
\end{tikzpicture}
}
% Now try to set te Augie font everywhere
\setbeamerfont{framesubtitle}{series=\ECFAugie}
\setbeamerfont{title}{series=\ECFAugie}
\setbeamerfont{caption}{series=\ECFAugie}
\setbeamerfont{author}{series=\ECFAugie}
\setbeamerfont{institute}{series=\ECFAugie}
\setbeamerfont{date}{series=\ECFAugie}
\setbeamerfont{frametitle}{series=\ECFAugie}
\setbeamerfont{item}{series=\ECFAugie}
%% use a small dash ('-') for a bulletpoint list
\setbeamertemplate{itemize item}{\usebeamercolor[fg]{item}\small\ECFAugie{-}}
% see https://tex.stackexchange.com/questions/320223/how-to-enforce-a-font-series-in-beamer-for-normal-default-text/320244
\setbeamerfont{normal text}{series= \ECFAugie}
% page number
\setbeamertemplate{footline}{%
\raisebox{5pt}{\makebox[\paperwidth]{\hfill\makebox[20pt]{\color{gray}
\scriptsize\insertframenumber}}}\hspace*{5pt}}
% add a bit of space at the top of the notes page
\addtobeamertemplate{note page}{\setlength{\parskip}{12pt}}
% a few macros
\newcommand{\bi}{\begin{itemize}}
\newcommand{\ei}{\end{itemize}}
\newcommand{\ig}{\includegraphics}
\newcommand{\subt}[1]{{\footnotesize \color{subtitle} {#1}}}
\title{Blockchain: Traceability, Provenance and Applications for My
Unknown Institute}
\framesubtitle{A researcher's perspective}
\author{ {John Doe}}
\institute{Unknown Institute}
\AtBeginDocument{\usebeamerfont{normal text}}
\begin{document}
\frame{
\titlepage}
\begin{frame}
\frametitle{What is a Blockchain?}
% \framesubtitle{Test Frame}
% \subt{An optional subtitle}
A distributed data structure which is
\begin{enumerate}
\item very difficult to tamper with
\item if tampered with, the tampering is easy to spot
\end{enumerate}
And who invented it?
\begin{equation}
\nabla^{2}\phi=0
\end{equation}
\begin{itemize}
\item not bad at all!
\end{itemize}
\end{frame}
\end{document}