beamerouterthemeumbcfootline.sty 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. \ProvidesPackage{beamerouterthemeumbcfootline}[2004/11/27 v1.0 for beamer 3.01]
  2. % A Beamer outer theme to put footlines on slides
  3. %
  4. % The user can override the default contents of the footline
  5. % through the command \setfootline{whatever}
  6. %
  7. % Rouben Rostamian <rostamian@umbc.edu>
  8. \mode<presentation>
  9. % the default contents of footline
  10. \newcommand{\umbc@footline}{%
  11. \insertshortauthor, \insertshortinstitute
  12. \hfill
  13. \insertshorttitle
  14. \ifx\insertsubtitle\@empty\else, \insertshortsubtitle\fi
  15. \hfill
  16. \insertframenumber/\inserttotalframenumber}
  17. % color definition as in beamerouterthemeinfolines.sty
  18. \setbeamercolor{umbc@ftcolor}{parent=palette secondary}
  19. \setbeamertemplate{footline}{%
  20. \usebeamerfont{structure}
  21. \begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex,dp=1ex]{umbc@ftcolor}%
  22. \Tiny\hspace*{4mm}\umbc@footline\hspace{4mm}
  23. \end{beamercolorbox}}
  24. % The user can override the default \umbc@footline by \setfootline{whatever}
  25. \newcommand{\setfootline}[1]{\renewcommand{\umbc@footline}{#1}}
  26. % don't show navigation buttons
  27. \setbeamertemplate{navigation symbols}{}
  28. \mode<all>