59 lines
1.9 KiB
TeX
59 lines
1.9 KiB
TeX
\mode<presentation>
|
|
% Requirement
|
|
\RequirePackage{tikz}
|
|
|
|
\setbeamertemplate{background}{
|
|
\begin{tikzpicture}
|
|
\definecolor{utokyo-blue}{HTML}{187fc3};
|
|
\definecolor{utokyo-yellow}{HTML}{f9be00};
|
|
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
|
|
\ifnum\insertframenumber>1\relax%
|
|
\fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
|
|
\node [below left] at (\the\paperwidth, \the\paperheight - 4mm)
|
|
{\includesvg[height = 1.2 cm]{./images/UTokyo_Logo.svg}};
|
|
\node [above] at (0.7, 0)
|
|
{\includesvg[height = 1.5 cm]{./images/clocktower.svg}};
|
|
\node[below right] at (current bounding box.north west) {
|
|
\footnotesize
|
|
\hspace{.05\paperwidth}
|
|
{\tiny\inserttitle \space | \insertshortauthor \space | \insertdate}
|
|
};
|
|
\node[above left] at (current bounding box.south east) {
|
|
{\huge\insertframenumber}
|
|
};
|
|
\fill[color=utokyo-yellow] (0.5,1.7) rectangle(.9,\the\paperheight);
|
|
\else
|
|
\node [above left] at (\the\paperwidth,0)
|
|
{\includesvg[height=.3\paperheight]{./images/UTokyo_Logo_small.svg}};
|
|
\fi
|
|
\end{tikzpicture}
|
|
}
|
|
|
|
%\setbeamertemplate{footline}{
|
|
% \begin{tikzpicture}
|
|
% \useasboundingbox (0,0) rectangle(\th\paperwidth,.1*\the\paperheight);
|
|
% \ifnum\thpage>1\relax%
|
|
% \fi
|
|
% \end{tikzpicture}
|
|
%}
|
|
|
|
% Title page
|
|
\defbeamertemplate*{title page}{utokyo}[1][]
|
|
{
|
|
\begin{center}
|
|
\vspace{-.2\paperheight}
|
|
\huge
|
|
\textbf{\inserttitle}\\
|
|
\vspace{.05\paperheight}
|
|
\Large
|
|
\insertsubtitle\\
|
|
\vspace{.08\paperheight}
|
|
\normalsize
|
|
\insertauthor\\
|
|
\vspace{.03\paperheight}
|
|
\insertdate
|
|
\end{center}
|
|
}
|
|
|
|
\mode <all>
|