Icon

komaletter: Simply Beautiful PDF Letters from Markdown

by rnuske (Robert Nuske) eddelbuettel (Dirk Eddelbuettel) aaronwolen (Aaron Wolen)

R package for comfortable writing of beautiful PDF letters in Markdown.

Simple letters tend to look very much alike. They are either determined by a standard eg. window envelope style or writer's preferences. Since the layout is fixed, letters can be written perfectly in R Markdown. The KOMA-Script LaTeX Bundle provides layouts for many common window envelope types (German, US, French, Japanese, ...) and the possibility to define your own layout. The komaletter package also provides it's own default letter layout loosely based on DIN 5008B. This package is an adaptation of the linl package for international writers. linl itself is based on the pandoc-letter template and extends it for use from R via the rmarkdown package.

  • Last Update 1 year ago
  • Stars 87 stars
  • Forks 21 forks
  • Releases 8 releases

Preview

komaletter example with sections
komaletter example with sections
Example 0: This example shows the skeleton you get when you run rmarkdown::draft() or start a letter from the template. It is intended as a starting point for your own letters and comes with a reasonably small set of settings in the YAML header.
Example 0: This example shows the skeleton you get when you run rmarkdown::draft() or start a letter from the template. It is intended as a starting point for your own letters and comes with a reasonably small set of settings in the YAML header.
Example 2: This letter displays some more parameters (eg. lco, signature, signature-before, return-phone, return-email, ps, cc and colorlinks).
Example 2: This letter displays some more parameters (eg. lco, signature, signature-before, return-phone, return-email, ps, cc and colorlinks).
Example 2: This letter displays some more parameters (eg. lco, papersize, inline-links).
Example 2: This letter displays some more parameters (eg. lco, papersize, inline-links).
Example 3: This letter displays some additions needed for example when communicating with German administrations or agencies.
Example 3: This letter displays some additions needed for example when communicating with German administrations or agencies.
Example 4: This example letter includes the parameter return-short which allows for a different, possibly shorter sender’s address to fit in the envelope’s window.
Example 4: This example letter includes the parameter return-short which allows for a different, possibly shorter sender’s address to fit in the envelope’s window.

Latest Version

Version 0.5.0

Latest v0.5.0
26 February 2023 (2 years ago)
Release on GitHub