aboutsummaryrefslogtreecommitdiff
path: root/beamer/beamerouterthemesigsum.sty
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-09-04 00:18:24 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-09-04 00:18:24 +0200
commit5dd6c416aa6e14dd5ddbe4622274b71b86b7a030 (patch)
tree276709554696ba94dc3ef4ab42d45aed806442e4 /beamer/beamerouterthemesigsum.sty
parented26572d987c2d27fa2962cbda5ef2f9176bb254 (diff)
add Sigsum beamer template
Diffstat (limited to 'beamer/beamerouterthemesigsum.sty')
-rw-r--r--beamer/beamerouterthemesigsum.sty42
1 files changed, 42 insertions, 0 deletions
diff --git a/beamer/beamerouterthemesigsum.sty b/beamer/beamerouterthemesigsum.sty
new file mode 100644
index 0000000..969e40d
--- /dev/null
+++ b/beamer/beamerouterthemesigsum.sty
@@ -0,0 +1,42 @@
+\mode<presentation>
+
+%
+% Frame header
+%
+\defbeamertemplate*{frametitle}{corporate}[1][]{%
+ \nointerlineskip
+ % Add frame title
+ \begin{beamercolorbox}[wd=\paperwidth, ht=3ex, dp=1.5ex, left, leftskip=2ex]{header}
+ \centering\insertframetitle
+ \end{beamercolorbox}
+ % Add line after
+ \nointerlineskip
+ \begin{beamercolorbox}[wd=\paperwidth, ht=0.25ex ]{trailer}
+ \end{beamercolorbox}
+}
+
+%
+% Frame trailer
+%
+\defbeamertemplate*{footline}{corporate}{\hbox{%
+ % Add website in the left-most portion of the trailer
+ \begin{beamercolorbox}[wd=0.20\paperwidth, ht=2ex, dp=0.5ex, left]{trailer}
+ \hfill
+ www.sigsum.org
+ \hfill
+ \end{beamercolorbox}%
+ % Add in the trailer's middle portion
+ \begin{beamercolorbox}[wd=0.6\paperwidth, ht=2ex, dp=0.5ex, left]{header}
+ \hfill
+ \inserttitle
+ \hfill
+ \end{beamercolorbox}%
+ % Add page counter in the right-most portion of the trailer
+ \begin{beamercolorbox}[wd=0.20\paperwidth, ht=2ex, dp=0.5ex, left]{trailer}
+ \hfill
+ \insertframenumber/\inserttotalframenumber
+ \hfill
+ \end{beamercolorbox}
+}}
+
+\mode<all>