\mode % 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, .93*\the\paperheight) {\includesvg[width=.3\paperwidth]{./images/UTokyo_Logo.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,0) rectangle(.05*\the\paperwidth,\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