Title: | Individual R Markdown Templates |
---|---|
Description: | 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. |
Authors: | Christoph Sax [aut, cre] , Kirill Müller [aut] , Angelica Becerra [aut], Frederik Aust [aut], cynkra GmbH [fnd, cph] |
Maintainer: | Christoph Sax <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.1.9025 |
Built: | 2024-11-22 01:23:01 UTC |
Source: | https://github.com/cynkra/indiedown |
Set up the packages structure for an indiedown-based customized R Markdown
template. See vignette("indiedown")
for a more detailed usage example.
create_indiedown_package(path, overwrite = FALSE)
create_indiedown_package(path, overwrite = FALSE)
path |
Package path |
overwrite |
Should existing assets be overwritten? |
This function is called for its side effects and returns NULL
, invisibly.
path <- file.path(tempdir(), "mydown") # set up empty R Package 'mydown' create_indiedown_package(path, overwrite = TRUE)
path <- file.path(tempdir(), "mydown") # set up empty R Package 'mydown' create_indiedown_package(path, overwrite = TRUE)
dr_down
analyzes the R markdown capabilities of the hardware.
dr_down()
dr_down()
## Not run: indiedown::dr_down() ## End(Not run)
## Not run: indiedown::dr_down() ## End(Not run)
Download and use Google fonts, using the gfonts package.
use_indiedown_gfonts( path = ".", id = "roboto", variants = c("regular", "300italic", "700", "700italic") )
use_indiedown_gfonts( path = ".", id = "roboto", variants = c("regular", "300italic", "700", "700italic") )
path |
Package path |
id |
Id of the font, correspond to column |
variants |
Variant(s) to download, default is to includes all available ones. |
This function is called for its side effects and returns NULL
, invisibly.
path <- file.path(tempdir(), "mydown") create_indiedown_package(path, overwrite = TRUE) # Use Lora, instead of default Roboto use_indiedown_gfonts( path = path, id = "lora", variants = c("regular", "italic", "700", "700italic") )
path <- file.path(tempdir(), "mydown") create_indiedown_package(path, overwrite = TRUE) # Use Lora, instead of default Roboto use_indiedown_gfonts( path = path, id = "lora", variants = c("regular", "italic", "700", "700italic") )