Simplifies the generation of customized R Markdown PDF templates. A template may include an individual logo, typography, geometry or color scheme. The package provides a skeleton with detailed instructions for customizations. The skeleton can be modified by changing defaults in the 'YAML' header, by adding additional 'LaTeX' commands or by applying dynamic adjustments in R. Individual corporate design elements, such as a title page, can be added as R functions that produce 'LaTeX' code.
Individual R Markdown PDF Templates.
indiedown allows you to generate a customized R Markdown PDF template in a few basic steps.
Start by installing indiedown:
install.packages("indiedown")
You can also install the development version from GitHub:
# install.packages("devtools") devtools::install_github("cynkra/indiedown")
To create your own customized R Markdown template, start by creating an indiedown template package, called mydown in this example. Navigate to the directory where you want to create the package, then:
indiedown::create_indiedown_package("mydown")
This creates a package skeleton in the new mydown directory in the current working directory. You can build mydown, using “Build and Reload” in the RStudio or via the command line, as follows:
devtools::install("mydown")
With mydown built and installed, our new template is available in RStudio (after a restart).
vignette("indiedown").vignette("walkthrough") for a step by step guide to customization.vignette("customize") for advanced customization.Please note that the indiedown project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.