Letter
A letter format for Quarto.
A letter is a small, fussy document: the recipient’s address in the right place, a subject line with the right label, an opening and a closing, and often a letterhead and a signature.
letter is a Quarto format that takes those as front matter and lays them out, so the body of the letter is the only thing left to write.
See one rendered by this site.
Starting a letter
quarto use template mcanouil/quarto-letter@1.2.2This installs the format and writes a starting document.
Adding it to a document you already have
quarto add mcanouil/quarto-letter@1.2.2This will install the extension under the _extensions subdirectory. If you are using version control, you will want to check in this directory.
Quick start
format:
letter-pdf:
address:
- Director Doe & Co
- 35 Anthony Road
- Newport
- Ipswich IP3 5RT
subject: collaboration
opening: "Dear Sir or Madam,"
closing: "Yours Faithfully,"quarto render letter.qmd --to letter-pdfOnly address is required; everything else is left out when it is not given.
See the Reference for every option, and the Examples for a bilingual letter and one with a letterhead.
Where it works
PDF, through LaTeX.
HTML will follow once Paged.js is available in Quarto.
Links
- Reference for every option.
- Examples for worked letters.
- A rendered letter, built by this site.
- Changelog for what each release changed.
- Source and issues on GitHub.