cover_letter: Cover Letter

View source: R/cover_letter.R

cover_letterR Documentation

Cover Letter

Description

A template for Cover Letter documents

Usage

cover_letter(...)

templ_cover_letter()

Arguments

...

Arguments to rmarkdown::pdf_document.

About YAML header fields

This section documents some of the YAML fields to know for this template.

FIELD DESCRIPTION
title title of the document, appears on first row
author name of the author, appears on second row
affiliation institutional affiliation, appears on third row
email your email, for the fourth row

Examples

path = "Untitled"
if (file.exists(path)) {unlink(path, recursive = TRUE)}
rmarkdown::draft(paste0(path, ".Rmd"),
template="cover_letter", 
package="resume", 
create_dir = TRUE, 
edit = FALSE)
if(Sys.info()["sysname"]  != "Windows") {
str = readLines(paste0(path, "/", path, ".Rmd"))
str = gsub("Times New Roman", "Liberation Serif", str )
writeLines(str, paste0(path, "/", path, ".Rmd")) }
rmarkdown::render(paste0(path, "/", path, ".Rmd"))
if (file.exists(path)) {unlink(path, recursive = TRUE)}


JacekPardyak/resume documentation built on Aug. 28, 2023, 7:50 a.m.