From cda585382232c21ab4af581418f25b15598de021 Mon Sep 17 00:00:00 2001 From: Wolfgang Viechtbauer Date: Tue, 12 Dec 2023 13:47:38 +0100 Subject: [PATCH] Update template.tex to allow for rescaling on signature image via 'signature-scale'. --- inst/rmarkdown/templates/pdf/resources/template.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/rmarkdown/templates/pdf/resources/template.tex b/inst/rmarkdown/templates/pdf/resources/template.tex index b9d0f37..0b711b9 100644 --- a/inst/rmarkdown/templates/pdf/resources/template.tex +++ b/inst/rmarkdown/templates/pdf/resources/template.tex @@ -197,7 +197,7 @@ $if(signature)$ \usepackage{graphicx,grffile} -\signature{$if(signature-before)$\vspace*{$signature-before$}$endif$\includegraphics{$signature$}$if(author)$\\$if(signature-after)$\vspace*{$signature-after$}$endif$$for(author)$$author$$sep$\\$endfor$$endif$} +\signature{$if(signature-before)$\vspace*{$signature-before$}$endif$\includegraphics$if(signature-scale)$[scale=$signature-scale$]$endif${$signature$}$if(author)$\\$if(signature-after)$\vspace*{$signature-after$}$endif$$for(author)$$author$$sep$\\$endfor$$endif$} $else$ $if(author)$ \signature{$for(author)$$author$$sep$\\$endfor$}