pdf_article: PDF Article for Journal of Data Science

Description Usage Arguments Value Examples

View source: R/pdf_article.R

Description

Provides output format to render PDF article for submission to Journal of Data Science.

Usage

1
pdf_article(..., cls = c("jdsart", "jds"))

Arguments

...

Optional named arguments passed to bookdown::pdf_book() and rmarkdown::pdf_document() other than base_format.

cls

The LaTeX class name. The available choices are jdsart for the latest class developed by vtex, or jds for the deprecated class.

Value

The output format that can only be used with bookdown::render_book().

Examples

1
2
3
4
5
6
if (interactive() && requireNamespace("rmarkdown", quietly = TRUE)) {
    ## draft from a sample R markdown file
    jds.rmd::draft("jds-sample.Rmd")
    ## produce pdf with the tex source kept for submission
    rmarkdown::render("jds-sample.Rmd")
}

jds.rmd documentation built on Sept. 16, 2021, 1:07 a.m.