prepare_yaml_for_knit: Prepare yaml for knitting

Description Usage Arguments Details

View source: R/create_pdf_header.R

Description

Prepare yaml for knitting

Usage

1
2
3
4
5
6
7
8
9
prepare_yaml_for_knit(
  rmd.path,
  fig_caption = TRUE,
  keep_tex = FALSE,
  number_sections = TRUE,
  toc = TRUE,
  lang = "en",
  out_format = c("pdf_document2", "pdf_book")
)

Arguments

rmd.path

Path of the Rmd file to be knit

fig_caption

TRUE to render figures with captions

keep_tex

Keep the intermediate tex file used in the conversion to PDF

number_sections

TRUE to number section headings

toc

TRUE to include a table of contents in the output

lang

Document language code (e.g. "en", "es", "fr", "pt-BR")

out_format

output pdf format among "pdf_book", "pdf_document2"

Details

Document dimensions and margins are fixed as linked with background image


statnmap/pdfreport documentation built on Feb. 28, 2021, 6:43 a.m.