latex-beamer-themes/Akatsuki/beamerinnerthemeAkatsuki.sty

75 lines
1.4 KiB
TeX

\mode<presentation>
%
%
% Frames backgrounds
%
%
\setbeamertemplate{background}{
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fill[color=main2] (0,2) rectangle (\the\paperwidth,\the\paperheight);
\fill[color=main1] (0,0) rectangle(2.95,1.9);
\fill[color=main0] (3.05,0) rectangle(\the\paperwidth,1.9);
\ifnum\thepage>1\relax%
\fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fi
\end{tikzpicture}
}
%
%
% Title page frame
%
%
\defbeamertemplate*{title page}{Akatsuki}[1][]
{
\vbox to 0pt{
\vskip1cm%
\begin{beamercolorbox}[wd=12cm,center,sep=8pt,#1]{title page header}
\usebeamerfont{title}\inserttitle\par%
\end{beamercolorbox}%
}
\vbox to 0pt{
\vskip5.1cm%
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,sep=8pt,#1]{subtitle page header}
{\small \insertsubtitle}\par%
\end{beamercolorbox}%
}
\vbox to 0pt {
\vskip4.9cm%
\begin{beamercolorbox}[wd=12cm,leftskip=0cm,#1]{author}
\usebeamerfont{author}\insertauthor%
\end{beamercolorbox}
}
\vbox to 0pt{
\vskip5.15cm%
\begin{beamercolorbox}[wd=12cm,leftskip=0cm,#1]{date}
\usebeamerfont{author}\insertdate%
\end{beamercolorbox}
}
\vfill
}
%
%
% Item symbol in frames
%
%
% All frames
% \setbeamertemplate{enumerate item}[default]
% \setbeamertemplate{enumerate subitem}[ball]
% in ToC
\setbeamertemplate{subsection in toc}[subsections numbered arabic]