A custom report style to fromat the output of R Markdown reports. Uses bookdown's pdf_document2 as the base format to allow cross-referencing and other improvements.

fm_pdf(
  toc = FALSE,
  toc_depth = 2,
  number_sections = FALSE,
  latex_engine = "pdflatex",
  extra_tex = "",
  ...
)

Arguments

toc

TRUE/FALSE (default TRUE). Display a table of contents

toc_depth

the depth of the table of contents. Default is 2

...

additional arguments which can be parsed by the word_document function

Details

Lower level LaTeX YAML settings are specified in an external file. This controls the document paper size, margins, and other layout options.

See also