From 5dd6c416aa6e14dd5ddbe4622274b71b86b7a030 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sun, 4 Sep 2022 00:18:24 +0200 Subject: add Sigsum beamer template --- beamer/beamerouterthemesigsum.sty | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 beamer/beamerouterthemesigsum.sty (limited to 'beamer/beamerouterthemesigsum.sty') 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 + +% +% 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 -- cgit v1.2.3