This function has been moved to the tufte package. Please use
tufte::tufte_handout
instead. See the
online
documentation for additional details.
tufte_handout(
fig_width = 4,
fig_height = 2.5,
fig_crop = TRUE,
dev = "pdf",
highlight = "default",
keep_tex = FALSE,
citation_package = c("default", "natbib", "biblatex"),
includes = NULL,
md_extensions = NULL,
pandoc_args = NULL
)
Default width (in inches) for figures
Default height (in inches) for figures
Whether to crop PDF figures with the command
pdfcrop
. This requires the tools pdfcrop
and
ghostscript
to be installed. By default, fig_crop = TRUE
if these two tools are available.
Graphics device to use for figure output (defaults to pdf)
Syntax highlighting style passed to Pandoc.
Supported built-in styles include "default", "tango", "pygments", "kate", "monochrome", "espresso", "zenburn", "haddock", and "breezedark".
Two custom styles are also included, "arrow", an accessible color scheme, and "rstudio", which mimics the default IDE theme. Alternatively, supply a path to a .theme file to use a custom Pandoc style. Note that custom theme requires Pandoc 2.0+.
Pass NULL
to prevent syntax highlighting.
Keep the intermediate tex file used in the conversion to PDF
The LaTeX package to process citations, natbib
or biblatex
. Use default
if neither package is to be used,
which means citations will be processed via the command
pandoc-citeproc
.
Named list of additional content to include within the
document (typically created using the includes
function).
Markdown extensions to be added or removed from the
default definition of R Markdown. See the rmarkdown_format
for
additional details.
Additional command line options to pass to pandoc