aboutsummaryrefslogtreecommitdiff
path: root/beamer/beamerouterthemesigsum.sty
diff options
context:
space:
mode:
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>