latex-beamer-themes/Akatsuki/beamerinnerthemeAkatsuki.sty

36 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-08-21 15:15:46 +00:00
\mode<presentation>
\setbeamertemplate{background}{
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
2017-08-22 16:29:36 +00:00
\fill[color=mypurple1] (0,2) rectangle (\the\paperwidth,\the\paperheight);
\fill[color=myred1] (0,0) rectangle(2.95,1.9);
\fill[color=mygrey1] (3.05,0) rectangle(\the\paperwidth,1.9);
2017-08-21 15:15:46 +00:00
\ifnum\thepage>1\relax%
\fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fi
\end{tikzpicture}
}
% Title page
\defbeamertemplate*{title page}{Akatsuki}[1][]
{
\vskip6cm%
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,sep=8pt,#1]{title page header}
\usebeamerfont{title}\inserttitle\par%
\end{beamercolorbox}%
\vskip0.75cm%
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,#1]{author}
\usebeamerfont{author}\insertauthor%
\end{beamercolorbox}
\vskip0.2cm%
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,#1]{date}
\usebeamerfont{author}\insertdate%
\end{beamercolorbox}
\vfill
}
% Items
\setbeamertemplate{items}[square]
\setbeamertemplate{sections/subsections in toc}[square]