diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerouterthemeinfolines.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerouterthemeinfolines.sty | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerouterthemeinfolines.sty b/Master/texmf-dist/tex/latex/beamer/beamerouterthemeinfolines.sty new file mode 100644 index 00000000000..60e70bda9e5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer/beamerouterthemeinfolines.sty @@ -0,0 +1,54 @@ +% Copyright 2007 by Till Tantau +% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright +% Copyright 2017 by Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor*{author in head/foot}{parent=palette tertiary} +\setbeamercolor*{title in head/foot}{parent=palette secondary} +\setbeamercolor*{date in head/foot}{parent=palette primary} + +\setbeamercolor*{section in head/foot}{parent=palette tertiary} +\setbeamercolor*{subsection in head/foot}{parent=palette primary} + +\defbeamertemplate*{footline}{infolines theme} +{% + \leavevmode% + \hbox{% + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% + \usebeamerfont{author in head/foot}\insertshortauthor\expandafter\ifblank\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)} + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% + \usebeamerfont{title in head/foot}\insertshorttitle + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% + \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em} + \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} + \end{beamercolorbox}}% + \vskip0pt% +} + +\defbeamertemplate*{headline}{infolines theme} +{% + \leavevmode% + \hbox{% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.65ex,dp=1.5ex,right]{section in head/foot}% + \usebeamerfont{section in head/foot}\insertsectionhead\hspace*{2ex} + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.65ex,dp=1.5ex,left]{subsection in head/foot}% + \usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead + \end{beamercolorbox}}% + \vskip0pt% +} + +\setbeamersize{text margin left=1em,text margin right=1em} + +\mode +<all> |