pdf_article: PDF Article for Journal of Data Science

View source: R/pdf_article.R

pdf_articleR Documentation

PDF Article for Journal of Data Science

Description

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

Usage

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

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 July 9, 2023, 5:32 p.m.