diff --git a/inst/rmarkdown/templates/monash/resources/template.tex b/inst/rmarkdown/templates/monash/resources/template.tex index 14326b3..0118317 100644 --- a/inst/rmarkdown/templates/monash/resources/template.tex +++ b/inst/rmarkdown/templates/monash/resources/template.tex @@ -74,6 +74,19 @@ $if(titlefontsize)$ \setbeamerfont{title}{series=\bfseries,parent=structure,size=\fontsize{$titlefontsize$}{32}} $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)$ \usefonttheme{serif} % use mainfont rather than sansfont for slide text $endif$