X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=beamerouterthemeUMBC.sty;fp=beamerouterthemeUMBC.sty;h=5083c02cd190dbe979e3a44b2f9671d9142ed531;hb=5b3e1f581c80150816c1d48fc3c9058fc4591a8f;hp=90e5b860ff98fdabeecb4cf320f9b8ea38fed109;hpb=dbf007252b913f427d2df6ae0c0634fe5c2fb81e;p=beamer-mjo.git diff --git a/beamerouterthemeUMBC.sty b/beamerouterthemeUMBC.sty index 90e5b86..5083c02 100644 --- a/beamerouterthemeUMBC.sty +++ b/beamerouterthemeUMBC.sty @@ -4,6 +4,22 @@ % No headline. \setbeamertemplate{headline}{} -% Set the footline to contain the author and institute. Comes -% from the miniframes theme. -\beamer@theme@footline@authorinstitute +% 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. +\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}% + \hfill% + {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}% + \end{beamercolorbox}% + \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot} + \end{beamercolorbox} +}