toc
TRUE
to include a table of contents in the output
toc_depth
Depth of headers to include in table of contents
number_sections
TRUE
to number section headings
fig_width
Default width (in inches) for figures
fig_height
Default height (in inches) for figures
fig_crop
TRUE
to automatically apply the pdfcrop
utility
(if available) to pdf figures
fig_caption
TRUE
to render figures with captions
dev
Graphics device to use for figure output (defaults to pdf)
df_print
Method to be used for printing data frames. Valid values
include "default", "kable", "tibble", and "paged". The "default" method
uses print.data.frame
. The "kable" method uses the
knitr::kable
function. The "tibble" method uses
the tibble package to print a summary of the data frame. The "paged"
method creates a paginated HTML table (note that this method is only valid
for formats that produce HTML). In addition to the named methods you can
also pass an arbitrary function to be used for printing data frames. You
can disable the df_print
behavior entirely by setting the option
rmarkdown.df_print
to FALSE
.
highlight
Syntax highlighting style. Supported styles include
"default", "tango", "pygments", "kate", "monochrome", "espresso",
"zenburn", and "haddock". Pass NULL
to prevent syntax highlighting.
template
Pandoc template to use for rendering. Pass "default" to use
the rmarkdown package default template; pass NULL
to use pandoc's
built-in template; pass a path to use a custom template that you've
created. See the documentation on
pandoc online documentation
for details on creating custom templates.
keep_tex
Keep the intermediate tex file used in the conversion to PDF
keep_md
Keep the markdown file generated by knitting.
latex_engine
LaTeX engine for producing PDF output. Options are
"pdflatex", "lualatex", and "xelatex".
citation_package
The LaTeX package to process citations, natbib
or biblatex
. Use none
if neither package is to be used.
includes
Named list of additional content to include within the
document (typically created using the includes
function).
md_extensions
Markdown extensions to be added or removed from the
default definition or R Markdown. See the rmarkdown_format
for
additional details.
output_extensions
Pandoc extensions to be added or removed from the
output format, e.g., "-smart"
means the output format will be
latex-smart
.
pandoc_args
Additional command line options to pass to pandoc
extra_dependencies
A LaTeX dependency latex_dependency()
, a
list of LaTeX dependencies, a character vector of LaTeX package names (e.g.
c("framed", "hyperref")
), or a named list of LaTeX package options
with the names being package names (e.g. list(hypreref =
c("unicode=true", "breaklinks=true"), lmodern = NULL)
). It can be used to
add custom LaTeX packages to the .tex header.