pdf_report | R Documentation |
Custom PDF template for reports
pdf_report(
copy_supporting_files = TRUE,
toc = TRUE,
toc_depth = 2,
number_sections = TRUE,
fig_width = 6.5,
fig_height = 4.5,
fig_crop = "auto",
fig_caption = TRUE,
dev = "pdf",
df_print = "tibble",
highlight = "default",
keep_tex = TRUE,
keep_md = FALSE,
latex_engine = "xelatex",
citation_package = "natbib",
includes = rmarkdown::includes(in_header =
system.file("rmarkdown/resources/tex/report-preamble.tex", package = "fnaufelRmd")),
md_extensions = "+fenced_divs+bracketed_spans",
template = system.file("rmarkdown/resources/tex/report-format.latex", package =
"fnaufelRmd"),
output_extensions = NULL,
pandoc_args = c("--variable=link-as-notes", paste0("--variable=", "resources:",
system.file("rmarkdown/resources", package = "fnaufelRmd")),
"--variable=subparagraph", paste0("--filter=",
system.file("rmarkdown/resources/pandoc_filters/dollar.py3", package =
"fnaufelRmd")), paste0("--filter=",
system.file("rmarkdown/resources/pandoc_filters/hl.py3", package = "fnaufelRmd"))),
extra_dependencies = NULL,
...
)
copy_supporting_files |
If TRUE, copy supporting files (.csl etc.) to document dir before rendering |
toc |
see rmarkdown::pdf_document |
toc_depth |
see rmarkdown::pdf_document |
number_sections |
see rmarkdown::pdf_document |
fig_width |
see rmarkdown::pdf_document |
fig_height |
see rmarkdown::pdf_document |
fig_crop |
see rmarkdown::pdf_document |
fig_caption |
see rmarkdown::pdf_document |
dev |
see rmarkdown::pdf_document |
df_print |
see rmarkdown::pdf_document |
highlight |
see rmarkdown::pdf_document |
keep_tex |
see rmarkdown::pdf_document |
keep_md |
see rmarkdown::pdf_document |
latex_engine |
see rmarkdown::pdf_document |
citation_package |
see rmarkdown::pdf_document |
includes |
see rmarkdown::pdf_document |
md_extensions |
see rmarkdown::pdf_document |
template |
see rmarkdown::pdf_document |
output_extensions |
see rmarkdown::pdf_document |
pandoc_args |
see rmarkdown::pdf_document |
extra_dependencies |
see rmarkdown::pdf_document |
... |
see rmarkdown::pdf_document |
Loads additional style and configs
see rmarkdown::pdf_document
fnaufel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.