1
0
mirror of https://github.com/eddelbuettel/binb synced 2024-12-22 12:39:58 +01:00

Allowed alternative title page

This commit is contained in:
Rob J Hyndman 2019-08-21 11:24:13 +10:00
parent f93d743c4b
commit aef8bb5f0f

View File

@ -74,6 +74,19 @@ $if(titlefontsize)$
\setbeamerfont{title}{series=\bfseries,parent=structure,size=\fontsize{$titlefontsize$}{32}} \setbeamerfont{title}{series=\bfseries,parent=structure,size=\fontsize{$titlefontsize$}{32}}
$endif$ $endif$
% Change title page image
$if(titlepage)$
\setbeamertemplate{title page}
{\placefig{-0.01}{-0.01}{width=1.01\paperwidth,height=1.01\paperheight}{$titlepage$}
\begin{textblock}{7.5}(1,2.8)\usebeamerfont{title}
{\color{white}\raggedright\par\inserttitle}
\end{textblock}
\begin{textblock}{7.5}(1,7)
{\color{white}\raggedright{\insertauthor}\mbox{}\\[0.2cm]
\insertdate}
\end{textblock}}
$endif$
$if(mainfont)$ $if(mainfont)$
\usefonttheme{serif} % use mainfont rather than sansfont for slide text \usefonttheme{serif} % use mainfont rather than sansfont for slide text
$endif$ $endif$