pdf_report: pdf_report

View source: R/pdf_report.R

pdf_reportR Documentation

pdf_report

Description

Custom PDF template for reports

Usage

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,
  ...
)

Arguments

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

Details

Loads additional style and configs

Value

see rmarkdown::pdf_document

Author(s)

fnaufel


fnaufel/fnaufelRmd documentation built on Dec. 6, 2023, 2:31 a.m.