diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerthemelined.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerthemelined.sty | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerthemelined.sty b/Master/texmf-dist/tex/latex/beamer/beamerthemelined.sty new file mode 100644 index 00000000000..199c5e39d1f --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer/beamerthemelined.sty @@ -0,0 +1,64 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, 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> + +\setbeamertemplate{headline}[text line] +{% + \vbox{% + \vskip3pt% + \beamerline{\insertnavigation{\paperwidth}}% + \vskip1.5pt% + \insertvrule{0.4pt}{beamerstructure!50!averagebackgroundcolor}% + \vskip1.5pt% + \tinyline{\color{beamerstructure}\insertsubsection\hfill} + \insertvrule{4pt}{beamerstructure!50!averagebackgroundcolor}% + }% +} + + % Footline +\setbeamertemplate{footline}[text line] +{% + \ifbeamertemplateempty{logo} + {% + \vbox{% + \setbox\beamer@tempbox=\hbox{\tiny\insertshortauthor: \insertshorttitle\hskip1.5cm\insertshortinstitute}% + \ifdim\wd\beamer@tempbox>\paperwidth% + \insertvrule{4pt}{beamerstructure!50!averagebackgroundcolor}% + \vskip1.5pt + \tinyline{\color{beamerstructure}\insertshortauthor:\hfill\insertshortinstitute}% + \tinyline{\color{beamerstructure}\insertshorttitle\hfill\lower1pt\hbox{\insertnavigationsymbols}}% + \else% + \setbox\beamer@tempbox=\hbox{\beamerline{\hbox to\paperwidth{\hfill\lower1pt\hbox{\insertnavigationsymbols}}}}% + \ht\beamer@tempbox=0pt% + \box\beamer@tempbox% + \insertvrule{4pt}{beamerstructure!50!averagebackgroundcolor}% + \vskip1.5pt + \tinyline{\color{beamerstructure}\insertshortauthor: \insertshorttitle\hfill\insertshortinstitute}% + \fi}% + } + {% + \vbox{% + \insertvrule{4pt}{beamerstructure!50!averagebackgroundcolor}% + \vskip1.5pt% + \setbox\beamer@logobox=\hbox{\lower1pt\hbox{\usebeamertemplate*{logo}}}% + \tinyline{\color{beamerstructure}\insertshortauthor:\hfill}% + \tinyline{\color{beamerstructure}\insertshorttitle\hfill\lower1pt\hbox{\insertnavigationsymbols}\hskip0.1cm\hbox{\dp\beamer@logobox=0pt\ht\beamer@logobox=0pt\box\beamer@logobox} + }% + }% + }% +} + + + +\userightsidebartemplate{0cm}{} + +\mode +<all> |