Debian Codegraph @

texmf-dist/doc/support/upmendex/present/src/beamerouterthememyinfolines.sty

raw
1 % Copyright 2007 by Till Tantau
2 % Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright
3 % Copyright 2017,2018 by Louis Stuart, Joseph Wright
4 %
5 % This file may be distributed and/or modified
6 %
7 % 1. under the LaTeX Project Public License and/or
8 % 2. under the GNU Public License.
9 %
10 % See the file doc/licenses/LICENSE for more details.
11
12 \mode<presentation>
13
14 \setbeamercolor*{author in head/foot}{parent=palette tertiary}
15 \setbeamercolor*{title in head/foot}{parent=palette secondary}
16 \setbeamercolor*{date in head/foot}{parent=palette primary}
17
18 \setbeamercolor*{section in head/foot}{parent=palette tertiary}
19 \setbeamercolor*{subsection in head/foot}{parent=palette secondary}
20
21 \setbeamertemplate{page number in head/foot}[totalframenumber]%
22
23 \defbeamertemplate*{footline}{infolines theme}
24 {%
25 \leavevmode%
26 \hbox{%
27 \begin{beamercolorbox}[wd=.250000\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
28 \usebeamerfont{author in head/foot}\insertshortauthor\expandafter\ifblank\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)}
29 \end{beamercolorbox}%
30 \begin{beamercolorbox}[wd=.500000\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
31 \usebeamerfont{title in head/foot}\insertshorttitle
32 \end{beamercolorbox}%
33 \begin{beamercolorbox}[wd=.250000\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
34 \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
35 \usebeamercolor[fg]{page number in head/foot}\usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot}\hspace*{2ex}
36 \end{beamercolorbox}}%
37 \vskip0pt%
38 }
39
40 \defbeamertemplate*{headline}{infolines theme}
41 {%
42 \leavevmode%
43 \hbox{%
44 \begin{beamercolorbox}[wd=.75\paperwidth,ht=2.65ex,dp=1.5ex,right]{section in head/foot}%
45 \usebeamerfont{section in head/foot}\insertsectionhead\hspace*{2ex}
46 \end{beamercolorbox}%
47 \begin{beamercolorbox}[wd=.25\paperwidth,ht=2.65ex,dp=1.5ex,left]{subsection in head/foot}%
48 \usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead
49 \end{beamercolorbox}}%
50 \vskip0pt%
51 }
52
53 \setbeamersize{text margin left=1em,text margin right=1em}
54
55 \mode
56 <all>