From: Michael Orlitzky Date: Fri, 9 Jun 2023 17:11:52 +0000 (-0400) Subject: Add page numbers in the footer. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=e0ee1caff096d203e8fbd21f415387f68a0a6ee2;p=beamer-mjo.git Add page numbers in the footer. --- diff --git a/beamerouterthemeUMBC.sty b/beamerouterthemeUMBC.sty index 5083c02..74e43ee 100644 --- a/beamerouterthemeUMBC.sty +++ b/beamerouterthemeUMBC.sty @@ -1,14 +1,12 @@ \mode \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}