]> 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 5083c02cd190dbe979e3a44b2f9671d9142ed531..3d4594524cf9a73a1dc900621f2791193e9375fc 100644 (file)
@@ -1,24 +1,21 @@
 \mode<presentation>
 \useoutertheme{miniframes}
 
+% Display the current/total frame count.
+\setbeamertemplate{page number in head/foot}[totalframenumber]%
+
 % No headline.
 \setbeamertemplate{headline}{}
 
-% An optional command that will appear in the middle of the footer.
-\defbeamertemplate{footextra}{}
-
-% Stolen from the miniframes theme, and modified to include the
-% footextra template.
+% 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 in head/foot}%
-    \leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%
-    \hfill%
-    \usebeamertemplate{footextra}%
+    leftskip=.3cm,rightskip=.3cm plus1fil]{author/framecount in foot}%
+    \insertauthor%
     \hfill%
-    {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
+    \usebeamertemplate{page number in head/foot}%
   \end{beamercolorbox}%
   \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
   \end{beamercolorbox}