在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):eddelbuettel/linl开源软件地址(OpenSource Url):https://github.com/eddelbuettel/linl开源编程语言(OpenSource Language):TeX 51.6%开源软件介绍(OpenSource Introduction):linl: Linl is not LetterMotivationThe LaTeX Letter class is very useful for simple letters. As such letters are also somewhat standardized, they make for excellent candidates for use by Markdown. This package leans on earlier work by Aaron Wolen in his pandoc-letter repository, and extends it for use from R via the rmarkdown package. ExampleSkeletonThe skeleton creates a very simple letter. This shows the (complete) source on the left and the rendered pdf on the right: Several formatting defaults for font, fontsize, indentation are in use. See VignetteThe vignette example is a little more featureful and shows how to include a letterhead on-demand, a signature, and a few formatting settings. All of these are driven by simple YAML headers as seen on the left: The vignette also contains the few lines of vignette metadata one would exclude from a normal letter. StatusThe package is fully working, and on CRAN. UsageAs the package is on CRAN, you can use the standard install.packages("linl") to install it from CRAN, and then use as a Markdown template via RStudio, or use code such as library(rmarkdown)
draft("myletter.Rmd", template="pdf", package="linl", edit=FALSE)
render("myletter.Rmd") to create a first draft of a new Interim and test versions may also appear on the ghrr drat repo from which they can be installed via one additional line as in drat:::addRepo("ghrr") # registers the ghrr drat repo
install.packages("linl") # installs linl from ghrr Once installed, the above code examples should work as expected. RequirementsBeyond the R package dependencies, a working See Also
AuthorsDirk Eddelbuettel and Aaron Wolen. LicenseGPL-3 for this package, the work in pandoc-letter, as well as underlying Pandoc template. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论