]> gitweb.michael.orlitzky.com - beamer-mjo.git/blobdiff - beamerouterthemeUMBC.sty
beamerouterthemeUMBC.sty: add a comment about the frame count.
[beamer-mjo.git] / beamerouterthemeUMBC.sty
index 90e5b860ff98fdabeecb4cf320f9b8ea38fed109..3d4594524cf9a73a1dc900621f2791193e9375fc 100644 (file)
@@ -1,9 +1,22 @@
 \mode<presentation>
 \useoutertheme{miniframes}
 
+% Display the current/total frame count.
+\setbeamertemplate{page number in head/foot}[totalframenumber]%
+
 % No headline.
 \setbeamertemplate{headline}{}
 
-% Set the footline to contain the author and institute. Comes
-% from the miniframes theme.
-\beamer@theme@footline@authorinstitute
+% Stolen from the miniframes theme and modified.
+\setbeamertemplate{footline}{
+  \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
+  \end{beamercolorbox}
+  \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
+    leftskip=.3cm,rightskip=.3cm plus1fil]{author/framecount in foot}%
+    \insertauthor%
+    \hfill%
+    \usebeamertemplate{page number in head/foot}%
+  \end{beamercolorbox}%
+  \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
+  \end{beamercolorbox}
+}