View source: R/tufte_handout.R
tufte_pdf | R Documentation |
FUNCTION_DESCRIPTION
tufte_pdf(
documentclass = c("tufte-handout", "tufte-book"),
fig_width = 4,
fig_height = 2.5,
fig_crop = TRUE,
dev = "pdf",
highlight = "default",
template = template_resources("tufte_handout", "tufte-handout.tex"),
...
)
documentclass |
PARAM_DESCRIPTION, Default: c("tufte-handout", "tufte-book") |
fig_width |
PARAM_DESCRIPTION, Default: 4 |
fig_height |
PARAM_DESCRIPTION, Default: 2.5 |
fig_crop |
PARAM_DESCRIPTION, Default: TRUE |
dev |
PARAM_DESCRIPTION, Default: 'pdf' |
highlight |
PARAM_DESCRIPTION, Default: 'default' |
template |
PARAM_DESCRIPTION, Default: template_resources("tufte_handout", "tufte-handout.tex") |
... |
PARAM_DESCRIPTION |
DETAILS
OUTPUT_DESCRIPTION
## Not run:
if (interactive()) {
# EXAMPLE1
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.