rjournal_pdf_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.

Usage

rjournal_pdf_article(..., self_contained = FALSE)

rjournal_web_article(
  toc = FALSE,
  self_contained = FALSE,
  legacy_pdf = FALSE,
  ...
)

Arguments

...

Arguments passed to distill::distill_article() for web articles, and rticles::rjournal_article() for pdf articles.

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).

toc

TRUE to include a table of contents in the output

legacy_pdf

whether an article is from the past and only have pdf version


[Package rjtools version 1.0.1 Index]