rjournal_article {rjtools} | R Documentation |
R Markdown output formats for R Journal articles
Description
The R Journal is built upon the distill framework with some modifications.
This output format behaves almost identically to the
distill::distill_article()
format, with some formatting and structural
changes. The rjournal_article()
format will produce both HTML and PDF
outputs, while the rjournal_pdf_article()
produces only the PDF output.
Usage
rjournal_article(toc = FALSE, self_contained = FALSE, legacy_pdf = FALSE, ...)
rjournal_pdf_article(..., self_contained = FALSE)
rjournal_web_article(toc = FALSE, self_contained = FALSE, ...)
Arguments
toc |
|
self_contained |
Produce a standalone HTML file with no external dependencies, using data: URIs to incorporate the contents of linked scripts, stylesheets, images, and videos. Note that even for self contained documents MathJax is still loaded externally (this is necessary because of its size). |
legacy_pdf |
whether an article is from the past and only have pdf version |
... |
Arguments passed to |
Value
the rendered R Journal article