latex-beamer-themes/Akatsuki/beamerouterthemeAkatsuki.sty

23 lines
742 B
Plaintext
Raw Normal View History

2017-08-21 15:15:46 +00:00
\mode<presentation>
% Frame title
\defbeamertemplate*{frametitle}{Akatsuki}[1][]
{
\vskip1cm%
\begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
\begin{tikzpicture}
2017-08-26 23:22:40 +00:00
\useasboundingbox[fill=white](0,0) rectangle(\the\paperwidth,1.2);
\fill[color=main0] (0,0) rectangle(2.95,1.2);
\fill[color=main2] (3.05,0) rectangle(\the\paperwidth,1.2);
2017-08-21 15:15:46 +00:00
\ifx\insertframesubtitle\@empty%
2017-08-26 23:22:40 +00:00
{\node[anchor=west, color=white, font=\large] at (3.2,0.61){\insertframetitle};}
2017-08-21 15:15:46 +00:00
\else%
2017-08-26 23:22:40 +00:00
{\node[anchor= west, color=white, font=\large] at (3.2,0.81){\insertframetitle};%
\node[anchor= west, color=white, font=\small] at (3.2,0.41){\insertframesubtitle};}%
2017-08-21 15:15:46 +00:00
\fi
\end{tikzpicture}
\end{beamercolorbox}
}
\mode<all>