pdf_report: WMF Product Analytics PDF Report

Description Usage Arguments

View source: R/pdf.R

Description

Creates a branded PDF document from R Markdown.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
pdf_report(
  font_size = "12pt",
  page_margins = "1in",
  short_title = NULL,
  watermark = NULL,
  cite_r_packages = NULL,
  extra_bibs = NULL,
  toc = FALSE,
  lot = FALSE,
  lof = FALSE,
  ...
)

Arguments

font_size

base font size to typeset the document in (12pt default)

page_margins

1in margins by default (recommended to keep unchanged)

short_title

shorter version of the title to be printed on the top-right corner of every page, except the front page

watermark

watermark Text to be printed on the page, useful for first, second, etc. drafts

cite_r_packages

character vector of packages to generate a bibliography for; necessary ones like base and rmarkdown will be cited regardless

extra_bibs

character vector of paths to .bib files to include in the final bibliography

toc

T/F value for table of contents. See ?rmarkdown::pdf_document for details

lot, lof

T/F value for list of tables/figures

...

other options to be passed to rmarkdown::pdf_document


bearloga/wmf-product-analytics-report documentation built on May 14, 2020, 11:37 a.m.