Description Usage Arguments Value Examples
Create a JDS article draft using the specified LaTeX class file. This function is a simplified version of 'rmarkdown::draft()' for creating a JDS article draft only.
1 |
file |
A character string for the file name of the draft. Different
with |
cls |
The LaTeX class name. The available choices are |
The file name of the new document (invisibly).
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")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.