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()andrmarkdown::pdf_document()other thanbase_format.- cls
The LaTeX class name. The available choices are
jdsartfor the latest class developed by vtex, orjdsfor 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")
}