summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerthemelined.sty
blob: 199c5e39d1f75ea14ce6b88cfc5a19466c1fb841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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>