added titleimage and made it and the subtitle optional
This commit is contained in:
parent
34b8d7ac0d
commit
e82d0c6e39
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
\def \TITLE{Example Title}
|
\def \TITLE{Example Title}
|
||||||
\def \SUBTITLE{Example Subtitle}
|
\def \SUBTITLE{Example Subtitle}
|
||||||
|
\def \TITLEIMAGE{\includesvg[width = 30 mm]{./images/clocktower.svg}}
|
||||||
\def \AUTHOR{Example Author\\123456\\example@invalid.com}
|
\def \AUTHOR{Example Author\\123456\\example@invalid.com}
|
||||||
\def \COMPACTAUTHOR{Example Author}
|
\def \COMPACTAUTHOR{Example Author}
|
||||||
\def \DATE{Example Date}
|
\def \DATE{Example Date}
|
||||||
|
@ -16,8 +16,13 @@
|
|||||||
\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}
|
||||||
{\tiny\inserttitle \space | \insertshortauthor \space | \insertdate}
|
{
|
||||||
};
|
\ifx\SUBTITLE\@empty
|
||||||
|
\footnotesize\inserttitle~| \insertshortauthor~| \insertdate
|
||||||
|
\else
|
||||||
|
\footnotesize\inserttitle~ -- \insertsubtitle~| \insertshortauthor~| \insertdate
|
||||||
|
\fi
|
||||||
|
}};
|
||||||
\node[above left] at (current bounding box.south east) {
|
\node[above left] at (current bounding box.south east) {
|
||||||
{\huge\insertframenumber}
|
{\huge\insertframenumber}
|
||||||
};
|
};
|
||||||
@ -41,16 +46,19 @@
|
|||||||
\defbeamertemplate*{title page}{utokyo}[1][]
|
\defbeamertemplate*{title page}{utokyo}[1][]
|
||||||
{
|
{
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\vspace{-.2\paperheight}
|
\Huge
|
||||||
\huge
|
|
||||||
\textbf{\inserttitle}\\
|
\textbf{\inserttitle}\\
|
||||||
\vspace{.05\paperheight}
|
\ifx\SUBTITLE\@empty
|
||||||
\Large
|
\else
|
||||||
|
\huge
|
||||||
\insertsubtitle\\
|
\insertsubtitle\\
|
||||||
\vspace{.08\paperheight}
|
\fi
|
||||||
\normalsize
|
\ifx\TITLEIMAGE\@empty
|
||||||
|
\else
|
||||||
|
\TITLEIMAGE\\
|
||||||
|
\fi
|
||||||
|
\Large
|
||||||
\insertauthor\\
|
\insertauthor\\
|
||||||
\vspace{.03\paperheight}
|
|
||||||
\insertdate
|
\insertdate
|
||||||
\end{center}
|
\end{center}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user