From 5dd6c416aa6e14dd5ddbe4622274b71b86b7a030 Mon Sep 17 00:00:00 2001
From: Rasmus Dahlberg <rasmus@mullvad.net>
Date: Sun, 4 Sep 2022 00:18:24 +0200
Subject: add Sigsum beamer template

---
 beamer/beamerinnerthemesigsum.sty | 43 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 beamer/beamerinnerthemesigsum.sty

(limited to 'beamer/beamerinnerthemesigsum.sty')

diff --git a/beamer/beamerinnerthemesigsum.sty b/beamer/beamerinnerthemesigsum.sty
new file mode 100644
index 0000000..d8e5a70
--- /dev/null
+++ b/beamer/beamerinnerthemesigsum.sty
@@ -0,0 +1,43 @@
+\mode<presentation>
+
+\defbeamertemplate*{title page}{sigsum}[1][]{
+	\begin{tikzpicture}[remember picture, overlay]
+		\usebeamercolor{titlepage}
+		%
+		% Draw top-most rectangle with logo
+		%
+		\filldraw[draw=none,fill=sigsumOrange]
+		($ (current page.east) + (1,0) $) --
+		($ (current page.north east) + (1,1) $) --
+		($ (current page.north west) + (-1,1) $) --
+		($ (current page.west) + (-1,0) $) --
+		($ (current page.east) + (1,0) $);
+		\node[draw=none] (Logo) at ($ (current page.center) !.5! (current page.north) $) {
+			\includegraphics[width=.6\textwidth]{img/logo}
+		};
+
+		%
+		% Add title
+		%
+		\node[text=fg, text width=0.75\paperwidth] (Title) at ([shift={(0,-0.5cm)}]current page){
+			\centering\usebeamerfont{title}\inserttitle\\
+		};
+
+		%
+		% Add date
+		%
+		\node[text=fg, text width=0.75\paperwidth, below=0pt of Title] (Subtitle){
+			\centering\usebeamerfont{date}\today\\%
+		};
+
+		%
+		% Add authors
+		%
+		\usebeamercolor{author}
+		\node[text=fg, text width=0.75\paperwidth, below=0pt of Subtitle] (Author){
+			\centering\usebeamerfont{author}\insertauthor\\%
+		};
+	\end{tikzpicture}
+}
+
+\mode<all>
-- 
cgit v1.2.3

