Debian Codegraph @

texmf-dist/tex/latex/beamer/beamerthemelined.sty

raw
1 % Copyright 2007 by Till Tantau
2 % Copyright 2015 by Vedran Mileti\'c, Joseph Wright
3 %
4 % This file may be distributed and/or modified
5 %
6 % 1. under the LaTeX Project Public License and/or
7 % 2. under the GNU Public License.
8 %
9 % See the file LICENSE.md for more details.
10
11 \mode<presentation>
12
13 \setbeamertemplate{headline}[text line]
14 {%
15 \vbox{%
16 \vskip3pt%
17 \beamerline{\insertnavigation{\paperwidth}}%
18 \vskip1.5pt%
19 \insertvrule{0.4pt}{beamerstructure!50!averagebackgroundcolor}%
20 \vskip1.5pt%
21 \tinyline{\color{beamerstructure}\insertsubsection\hfill}
22 \insertvrule{4pt}{beamerstructure!50!averagebackgroundcolor}%
23 }%
24 }
25
26 % Footline
27 \setbeamertemplate{footline}[text line]
28 {%
29 \ifbeamertemplateempty{logo}
30 {%
31 \vbox{%
32 \setbox\beamer@tempbox=\hbox{\tiny\insertshortauthor: \insertshorttitle\hskip1.5cm\insertshortinstitute}%
33 \ifdim\wd\beamer@tempbox>\paperwidth%
34 \insertvrule{4pt}{beamerstructure!50!averagebackgroundcolor}%
35 \vskip1.5pt
36 \tinyline{\color{beamerstructure}\insertshortauthor:\hfill\insertshortinstitute}%
37 \tinyline{\color{beamerstructure}\insertshorttitle\hfill\lower1pt\hbox{\insertnavigationsymbols}}%
38 \else%
39 \setbox\beamer@tempbox=\hbox{\beamerline{\hbox to\paperwidth{\hfill\lower1pt\hbox{\insertnavigationsymbols}}}}%
40 \ht\beamer@tempbox=0pt%
41 \box\beamer@tempbox%
42 \insertvrule{4pt}{beamerstructure!50!averagebackgroundcolor}%
43 \vskip1.5pt
44 \tinyline{\color{beamerstructure}\insertshortauthor: \insertshorttitle\hfill\insertshortinstitute}%
45 \fi}%
46 }
47 {%
48 \vbox{%
49 \insertvrule{4pt}{beamerstructure!50!averagebackgroundcolor}%
50 \vskip1.5pt%
51 \setbox\beamer@logobox=\hbox{\lower1pt\hbox{\usebeamertemplate*{logo}}}%
52 \tinyline{\color{beamerstructure}\insertshortauthor:\hfill}%
53 \tinyline{\color{beamerstructure}\insertshorttitle\hfill\lower1pt\hbox{\insertnavigationsymbols}\hskip0.1cm\hbox{\dp\beamer@logobox=0pt\ht\beamer@logobox=0pt\box\beamer@logobox}
54 }%
55 }%
56 }%
57 }
58
59
60
61 \userightsidebartemplate{0cm}{}
62
63 \mode
64 <all>