]> gitweb.michael.orlitzky.com - beamer-mjo.git/commitdiff
Add page numbers in the footer.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 9 Jun 2023 17:11:52 +0000 (13:11 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 9 Jun 2023 17:11:52 +0000 (13:11 -0400)
beamerouterthemeUMBC.sty

index 5083c02cd190dbe979e3a44b2f9671d9142ed531..74e43eee2d3005ed3f0c907e478c57d76b46cd7e 100644 (file)
@@ -1,14 +1,12 @@
 \mode<presentation>
 \useoutertheme{miniframes}
 
+\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}
@@ -16,9 +14,7 @@
     leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}%
     \leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%
     \hfill%
-    \usebeamertemplate{footextra}%
-    \hfill%
-    {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
+    \usebeamercolor[fg]{page number in head/foot}\usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot}%
   \end{beamercolorbox}%
   \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
   \end{beamercolorbox}