From aef8bb5f0fa1c4480aee2ec20c75a78993d2131e Mon Sep 17 00:00:00 2001 From: Rob J Hyndman Date: Wed, 21 Aug 2019 11:24:13 +1000 Subject: [PATCH] Allowed alternative title page --- .../templates/monash/resources/template.tex | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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$