diff options
author | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-09-04 00:18:24 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-09-04 00:18:24 +0200 |
commit | 5dd6c416aa6e14dd5ddbe4622274b71b86b7a030 (patch) | |
tree | 276709554696ba94dc3ef4ab42d45aed806442e4 /beamer/beamerinnerthemesigsum.sty | |
parent | ed26572d987c2d27fa2962cbda5ef2f9176bb254 (diff) |
add Sigsum beamer template
Diffstat (limited to 'beamer/beamerinnerthemesigsum.sty')
-rw-r--r-- | beamer/beamerinnerthemesigsum.sty | 43 |
1 files changed, 43 insertions, 0 deletions
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> |