beamerouterthemelcsb.sty 700 Bytes
Newer Older
Miroslav Kratochvil's avatar
Miroslav Kratochvil committed
1
2
3
4
5
6
\defbeamertemplate*{frametitle}{lcsb}[1][]
{\vskip3mm%
  \begin{beamercolorbox}[wd=\paperwidth,sep=0pt]{frametitle}%
  \begin{tikzpicture}
  \node[anchor=north west, text width=\paperwidth-12mm, minimum height=24pt] (thetitle) at (6mm,0) {
    \insertframetitle
Miroslav Kratochvil's avatar
Miroslav Kratochvil committed
7
8
9
10
    \ifx\insertframesubtitle\@empty\else\par\begingroup%
      \usebeamercolor[fg]{framesubtitle}\usebeamerfont{framesubtitle}\par%
      \insertframesubtitle%
    \endgroup\fi
Miroslav Kratochvil's avatar
Miroslav Kratochvil committed
11
12
13
14
15
16
17
18
19
  };
  \iflcsb@standout
    \path (0,0);%alignment dummy
  \else
    \usebeamercolor{lcsb side bar}
    \path[fill=fg] (0,0) rectangle ([xshift=-3mm] thetitle.south west);
  \fi
  \end{tikzpicture}\nolinebreak\end{beamercolorbox}\vskip -2ex%TODO a saner way?
}