latex-beamer-themes/Akatsuki/beamerouterthemeAkatsuki.sty

23 lines
756 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-22 16:29:36 +00:00
\useasboundingbox[fill=mywhite](0,0) rectangle(\the\paperwidth,1.2);
\fill[color=mygrey1] (0,0) rectangle(2.95,1.2);
\fill[color=mypurple1] (3.05,0) rectangle(\the\paperwidth,1.2);
2017-08-21 15:15:46 +00:00
\ifx\insertframesubtitle\@empty%
2017-08-22 16:29:36 +00:00
{\node[anchor=west, color=mywhite, font=\large] at (3.2,0.61){\insertframetitle};}
2017-08-21 15:15:46 +00:00
\else%
2017-08-22 16:29:36 +00:00
{\node[anchor= west, color=mywhite, font=\large] at (3.2,0.81){\insertframetitle};%
\node[anchor= west, color=mywhite, font=\small] at (3.2,0.41){\insertframesubtitle};}%
2017-08-21 15:15:46 +00:00
\fi
\end{tikzpicture}
\end{beamercolorbox}
}
\mode<all>