implemented further small improvements to the template

This commit is contained in:
paul-loedige 2022-10-23 22:52:36 +09:00
parent f1a518a75e
commit 6a55571622
2 changed files with 7 additions and 5 deletions

View File

@ -9,8 +9,10 @@
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight); \useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\ifnum\insertframenumber>1\relax% \ifnum\insertframenumber>1\relax%
\fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight); \fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
\node [below left] at (\the\paperwidth, .93*\the\paperheight) \node [below left] at (\the\paperwidth, \the\paperheight - 4mm)
{\includesvg[width=.3\paperwidth]{./images/UTokyo_Logo.svg}}; {\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) { \node[below right] at (current bounding box.north west) {
\footnotesize \footnotesize
\hspace{.05\paperwidth} \hspace{.05\paperwidth}
@ -19,7 +21,7 @@
\node[above left] at (current bounding box.south east) { \node[above left] at (current bounding box.south east) {
{\huge\insertframenumber} {\huge\insertframenumber}
}; };
\fill[color=utokyo-yellow] (0.5,0) rectangle(.05*\the\paperwidth,\the\paperheight); \fill[color=utokyo-yellow] (0.5,1.7) rectangle(.9,\the\paperheight);
\else \else
\node [above left] at (\the\paperwidth,0) \node [above left] at (\the\paperwidth,0)
{\includesvg[height=.3\paperheight]{./images/UTokyo_Logo_small.svg}}; {\includesvg[height=.3\paperheight]{./images/UTokyo_Logo_small.svg}};

View File

@ -3,13 +3,13 @@
% Frame title % Frame title
\defbeamertemplate*{frametitle}{texsx}[1][] \defbeamertemplate*{frametitle}{texsx}[1][]
{ {
\vskip1cm% \vskip0.7cm%
\begin{beamercolorbox}[wd=\paperwidth,ht=1cm]{frametitle} \begin{beamercolorbox}[wd=\paperwidth,ht=1cm]{frametitle}
\begin{tikzpicture} \begin{tikzpicture}
\definecolor{utokyo-gray}{HTML}{231815}; \definecolor{utokyo-gray}{HTML}{231815};
\definecolor{utokyo-blue}{HTML}{187fc3}; \definecolor{utokyo-blue}{HTML}{187fc3};
\definecolor{utokyo-yellow}{HTML}{f9be00}; \definecolor{utokyo-yellow}{HTML}{f9be00};
\useasboundingbox[fill=utokyo-blue](0,0) rectangle(.65*\the\paperwidth,1.2); \useasboundingbox[fill=utokyo-blue](0,0) rectangle(.675*\the\paperwidth, 1.2cm);
\ifx\insertframesubtitle\@empty% \ifx\insertframesubtitle\@empty%
{\node[anchor=west, white,font=\Large] at (1,0.61){\insertframetitle};} {\node[anchor=west, white,font=\Large] at (1,0.61){\insertframetitle};}
\else% \else%