This commit is contained in:
2019-05-15 16:39:19 -04:00
commit 1798152010
9 changed files with 137 additions and 0 deletions

11
Makefile Normal file
View File

@@ -0,0 +1,11 @@
COMPILER=xelatex
TARGET=slides
all:
${COMPILER} -shell-escape ${TARGET}
${COMPILER} -shell-escape ${TARGET}
make cleanup
cleanup:
rm ${TARGET}.aux ${TARGET}.log ${TARGET}.nav ${TARGET}.out ${TARGET}.snm ${TARGET}.toc ${TARGET}.vrb
rm -r _minted-slides/

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
# Veit Beamer Theme
This is a Beamer theme for my presentations. Its inspired by the Metropolis
theme that I used before, and by [the Saarland theme](https://github.com/kailashbuki/beamerthemesaarland).
Check out the [demo presentation](/slides.pdf)!
You can use it for your own presentations as well, no matter whether you credit
me or not!
<hr/>
Have fun!

31
beamercolorthemeveit.sty Normal file
View File

@@ -0,0 +1,31 @@
\mode<presentation>
\definecolor{navyblue}{RGB}{0, 34, 109}
\definecolor{turquoise}{RGB}{85, 179, 162}
\definecolor{brightsky}{RGB}{0, 176, 223}
\definecolor{lightred}{RGB}{196, 91, 46}
\definecolor{violet}{RGB}{73, 0, 130}
\definecolor{charcoal}{RGB}{54,69,79}
\definecolor{gray}{RGB}{128, 128, 128}
\definecolor{americanrose}{rgb}{1.0, 0.01, 0.24}
\definecolor{eggshell}{RGB}{250, 250, 250}
\setbeamercolor{structure}{fg=gray,bg=white}
\setbeamercolor{frametitle}{bg=navyblue,fg=white}
\setbeamercolor{framesubtitle}{bg=navyblue,fg=white}
\setbeamercolor{alerted text}{fg=americanrose}
\setbeamercolor{background canvas}{bg=eggshell}
\setbeamercolor{block title}{fg=gray!30!white,bg=charcoal}
\setbeamercolor{block body}{parent=normal text,bg=gray, fg=white}
\setbeamercolor{block title example}{fg=turquoise!30!white,bg=turquoise!40!black}
\setbeamercolor{block body example}{parent=normal text,bg=turquoise, fg=white}
\setbeamercolor{block title alerted}{fg=lightred!30!white,bg=lightred!40!black}
\setbeamercolor{block body alerted}{parent=normal text,bg=lightred, fg=white}
\setbeamercolor{title}{fg=navyblue,}
\setbeamercolor{subtitle}{fg=navyblue}
\mode<all>

5
beamerfontthemeveit.sty Normal file
View File

@@ -0,0 +1,5 @@
\usepackage{fontspec}
\setmonofont[BoldFont={Triplicate T3c}]{Triplicate T3c}
\setbeamerfont*{subtitle}{size=\large}
\setbeamerfont{frametitle}{size=\large,%
series=\bfseries}

8
beamerinnerthemeveit.sty Normal file
View File

@@ -0,0 +1,8 @@
\mode<presentation>
\setbeamertemplate{itemize item}{\color{navyblue}$\blacktriangleright$}
\setbeamertemplate{itemize subitem}{\color{navyblue}$\blacktriangleright$}
\setbeamertemplate{itemize subsubitem}{\color{navyblue}$\blacktriangleright$}
\setbeamertemplate{items}[]
\mode<all>

18
beamerouterthemeveit.sty Normal file
View File

@@ -0,0 +1,18 @@
\usepackage{tikz}
\mode<presentation>
\setbeamertemplate{title page}
{
\usebeamerfont{title}{\usebeamercolor[fg]{title}\inserttitle}\par
\usebeamerfont{subtitle}{\usebeamercolor[fg]{subtitle}\insertsubtitle}\par
\bigskip
\usebeamerfont{title}{\usebeamercolor[gray]{title}\hrulefill\par}
\bigskip
\usebeamerfont{author}\insertauthor\par
\usebeamerfont{institute}\insertinstitute\par
\usebeamerfont{date}\insertdate
}
\mode<all>
\endinput

11
beamerthemeveit.sty Normal file
View File

@@ -0,0 +1,11 @@
\mode<presentation>
\usecolortheme{veit}
\usefonttheme{veit}
\useinnertheme{veit}
\useoutertheme{veit}
\setbeamertemplate{navigation symbols}{}
\mode<all>
\endinput

BIN
slides.pdf Normal file

Binary file not shown.

41
slides.tex Normal file
View File

@@ -0,0 +1,41 @@
\documentclass[aspectratio=169]{beamer}
\usepackage{minted}
\usemintedstyle{borland}
\usepackage{listings}
\usetheme{veit}
\author{Veit Heller}
\title{Veit}
\subtitle{A personal Beamer theme}
\institute{Port Zero}
\date{\today}
\begin{document}
\begin{frame}[plain]
\titlepage
\end{frame}
\begin{frame}{Example Slide}
Veit is a Beamer theme for Veit.
\begin{itemize}
\item Inspired by Saarland Beamer theme.
\begin{itemize}
\item \textbf{Check it out at}: https://github.com/kailashbuki/beamerthemesaarland
\end{itemize}
\item Written for my personal use.
\end{itemize}
\end{frame}
\begin{frame}[fragile]
\frametitle{Code Slide}
\begin{listing}[H]
\caption{We can have code!}
\begin{minted}{python}
# borland works well
def hello_world(world="World"):
return "Hello, {}!".format(world)
\end{minted}
\end{listing}
\end{frame}
\end{document}