Initial commit.

This commit is contained in:
2017-08-21 17:15:46 +02:00
commit 9c0b4c772d
7 changed files with 141 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\title{There Is No Largest Prime Number}
\date[ISPN 80]{27th International Symposium of Prime Numbers}
\author[Euclid]{Euclid of Alexandria \texttt{euclid@alexandria.edu}}
\usetheme{Akatsuki}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}
\frametitle{There Is No Largest Prime Number}
\framesubtitle{The proof uses \textit{reductio ad absurdum}.}
\begin{theorem}
There is no largest prime number.
\end{theorem}
\begin{enumerate}
\item<1-| alert@1> Suppose $p$ were the largest prime number.
\item<2-> Let $q$ be the product of the first $p$ numbers.
\item<3-> Then $q+1$ is not divisible by any of them.
\item<1-> But $q + 1$ is greater than $1$, thus divisible by some prime
number not in the first $p$ numbers.
\end{enumerate}
\end{frame}
\begin{frame}{A longer title}
\begin{itemize}
\item one
\item two
\end{itemize}
\end{frame}
\end{document}

View File

@@ -0,0 +1,12 @@
\mode<presentation>
% {rgb,255: red,247; green,248; blue,250}}
% Settings
\setbeamercolor*{title page header}{fg={rgb,255: red,247; green,248; blue,250}}
\setbeamercolor*{author}{fg={rgb,255: red,23; green,33; blue,42}}
\setbeamercolor*{date}{fg={rgb,255: red,23; green,33; blue,42}}
\setbeamercolor*{item}{fg={rgb,255: red,188; green,7; blue,68}}
\mode
<all>

View File

@@ -0,0 +1,35 @@
\mode<presentation>
\setbeamertemplate{background}{
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fill[color={rgb,255:red,37; green,20; blue,42}] (0,2) rectangle (\the\paperwidth,\the\paperheight);
\fill[color={rgb,255:red,188; green,7; blue,68}] (0,0) rectangle(2.95,1.9);
\fill[color={rgb,255:red,218; green,219; blue,214}] (3.05,0) rectangle(\the\paperwidth,1.9);
\ifnum\thepage>1\relax%
\fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fi
\end{tikzpicture}
}
% Title page
\defbeamertemplate*{title page}{Akatsuki}[1][]
{
\vskip6cm%
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,sep=8pt,#1]{title page header}
\usebeamerfont{title}\inserttitle\par%
\end{beamercolorbox}%
\vskip0.75cm%
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,#1]{author}
\usebeamerfont{author}\insertauthor%
\end{beamercolorbox}
\vskip0.2cm%
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,#1]{date}
\usebeamerfont{author}\insertdate%
\end{beamercolorbox}
\vfill
}
% Items
\setbeamertemplate{items}[square]
\setbeamertemplate{sections/subsections in toc}[square]

View File

@@ -0,0 +1,22 @@
\mode<presentation>
% Frame title
\defbeamertemplate*{frametitle}{Akatsuki}[1][]
{
\vskip1cm%
\begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
\begin{tikzpicture}
\useasboundingbox[fill={rgb,255: red,247; green,248; blue,250}](0,0) rectangle(\the\paperwidth,1.2);
\fill[color={rgb,255:red,37; green,20; blue,42}] (0,0) rectangle(2.95,1.2);
\fill[color={rgb,255:red,218; green,219; blue,214}] (3.05,0) rectangle(\the\paperwidth,1.2);
\ifx\insertframesubtitle\@empty%
{\node[anchor=west, color={rgb,255:red,23; green,33; blue,42}, font=\large] at (3.2,0.61){\insertframetitle};}
\else%
{\node[anchor= west, color={rgb,255:red,23; green,33; blue,42}, font=\large] at (3.2,0.81){\insertframetitle};%
\node[anchor= west, color={rgb,255:red,23; green,33; blue,42}, font=\small] at (3.2,0.41){\insertframesubtitle};}%
\fi
\end{tikzpicture}
\end{beamercolorbox}
}
\mode<all>

View File

@@ -0,0 +1,14 @@
\mode<presentation>
% Requirement
\RequirePackage{tikz}
% Settings
\useinnertheme{Akatsuki}
\useoutertheme{Akatsuki}
\usecolortheme{Akatsuki}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true]
\mode<all>

Binary file not shown.