This is an interface to the KOMA-Script class scrartcl that acts as an
alternative to the article class in LaTeX. Most of the added functionality
is documented in the scrartcl vignette
(vignette("scrartcl", "komadown")
) and is accessed via the YAML metadata
block of the R Markdown file.
scrartcl(..., number_sections = TRUE, md_extensions = c("-autolink_bare_uris"), csl = NULL)
... | Arguments passed down to |
---|---|
number_sections | Whether to number section headers: if |
md_extensions | Arguments to be passed to a
specific output format function. For a function |
csl | bibliography style in the |
R Markdown output format to pass to rmarkdown::render()
.
library(rmarkdown) library(bookdown) draft("MyArticle.Rmd", template = "scrartcl", package = "komadown", edit = FALSE)#> Error in draft("MyArticle.Rmd", template = "scrartcl", package = "komadown", edit = FALSE): The template 'scrartcl' was not found in the komadown package