tint (version 0.0.1.2)

tintPdf: Tufte handout formats (PDF and HTML)

Description

Templates for creating handouts according to the style of Edward R. Tufte and Richard Feynman.

Usage

tintPdf(fig_width = 4, fig_height = 2.5, fig_crop = TRUE, dev = "pdf", highlight = "default", ...)

Arguments

fig_width
Default width (in inches) for figures
fig_height
Default width (in inches) for figures
fig_crop
TRUE to automatically apply the pdfcrop utility (if available) to pdf figures
dev
Graphics device to use for figure output (defaults to pdf)
highlight
Syntax highlighting style. Supported styles include "default", "tango", "pygments", "kate", "monochrome", "espresso", "zenburn", and "haddock". Pass NULL to prevent syntax highlighting.
...
Other arguments to be passed to pdf_document or html_document (note you cannot use the template argument in tufte_handout or the theme argument in tufte_html(); these arguments have been set internally)

Details

tufte_handout() provides the PDF format based on the Tufte-LaTeX class: https://tufte-latex.github.io/tufte-latex/.

References

See http://rstudio.github.io/tufte for an example.

Examples

Run this code
library(tint)

Run the code above in your browser using DataLab