From 20fc85f25d4d267b2174755ece9e419001152f27 Mon Sep 17 00:00:00 2001 From: Andras Svraka Date: Mon, 16 Dec 2019 22:40:52 +0100 Subject: [PATCH] Add `titlegraphic` support in Metropolis --- inst/rmarkdown/templates/metropolis/resources/template.tex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inst/rmarkdown/templates/metropolis/resources/template.tex b/inst/rmarkdown/templates/metropolis/resources/template.tex index 42a8094..fd29f76 100644 --- a/inst/rmarkdown/templates/metropolis/resources/template.tex +++ b/inst/rmarkdown/templates/metropolis/resources/template.tex @@ -303,6 +303,10 @@ $endif$ $endif$ } +$if(titlegraphic)$ + \titlegraphic{\hfill\includegraphics[height=1cm]{$titlegraphic$}} +$endif$ + \begin{document} % Hide progress bar and footline on titlepage