From cbe23a00e7e4194854279b4ab1cee12951003e4a Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Mon, 9 Dec 2019 02:53:25 +0100 Subject: [PATCH 1/2] add support for awesome cv's letter functionality --- .../awesomecv/resources/awesome-cv.tex | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex b/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex index 04cda304..7d3f5330 100644 --- a/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex +++ b/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex @@ -111,6 +111,27 @@ \quote{$aboutme$} $endif$ + +$if(recipientname)$ +\recipient{$recipientname$}{$recipientaddress$} +$endif$ + +$if(letterdate)$ +\letterdate{$letterdate$} +$endif$ + +$if(letteropening)$ +\letteropening{$letteropening$} +$endif$ + +$if(letterclosing)$ +\letterclosing{$letterclosing$} +$endif$ + +$if(letterenclosure)$ +\letterenclosure$if(letterenclosurename)$[$letterenclosurename$]$endif${$letterenclosure$} +$endif$ + \usepackage{booktabs} % Templates for detailed entries From a2334964e729754527e81cf7aafb35f5d3cfa550 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Mon, 9 Dec 2019 03:09:42 +0100 Subject: [PATCH 2/2] forgot to add lettertitle --- inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex b/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex index 7d3f5330..30e16716 100644 --- a/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex +++ b/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex @@ -120,6 +120,10 @@ \letterdate{$letterdate$} $endif$ +$if(lettertitle)$ +\lettertitle{$lettertitle$} +$endif$ + $if(letteropening)$ \letteropening{$letteropening$} $endif$