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 \SUBTITLE{Example Subtitle}
|
||||
\def \TITLEIMAGE{\includesvg[width = 30 mm]{./images/clocktower.svg}}
|
||||
\def \AUTHOR{Example Author\\123456\\example@invalid.com}
|
||||
\def \COMPACTAUTHOR{Example Author}
|
||||
\def \DATE{Example Date}
|
||||
|
@ -16,8 +16,13 @@
|
||||
\node[below right] at (current bounding box.north west) {
|
||||
\footnotesize
|
||||
\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) {
|
||||
{\huge\insertframenumber}
|
||||
};
|
||||
@ -41,16 +46,19 @@
|
||||
\defbeamertemplate*{title page}{utokyo}[1][]
|
||||
{
|
||||
\begin{center}
|
||||
\vspace{-.2\paperheight}
|
||||
\huge
|
||||
\Huge
|
||||
\textbf{\inserttitle}\\
|
||||
\vspace{.05\paperheight}
|
||||
\ifx\SUBTITLE\@empty
|
||||
\else
|
||||
\huge
|
||||
\insertsubtitle\\
|
||||
\fi
|
||||
\ifx\TITLEIMAGE\@empty
|
||||
\else
|
||||
\TITLEIMAGE\\
|
||||
\fi
|
||||
\Large
|
||||
\insertsubtitle\\
|
||||
\vspace{.08\paperheight}
|
||||
\normalsize
|
||||
\insertauthor\\
|
||||
\vspace{.03\paperheight}
|
||||
\insertdate
|
||||
\end{center}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user