BiocStyle (version 2.0.2)

pdf_document: Use Bioconductor style to format R Markdown PDF output

Description

This function sets the Bioconductor style in PDF documents rendered using R Markdown v2.

Usage

pdf_document(toc = TRUE, number_sections = TRUE, use.unsrturl = TRUE, includes, ...)

Arguments

toc
logical(1), TRUE to include a table of contents in the output.
number_sections
logical(1), TRUE to number section headings.
use.unsrturl
logical(1), indicating that the ‘unsrturl’ style will be used (\bibliographystyle command not required).
includes
Named list of additional content to include within the document
...
Additional arguments, passed to pdf_document.

Value

R Markdown output format to pass to rmarkdown::render.

See Also

html_document, md_document

Examples

Run this code
## Not run: 
# 
# # simple invocation
# render("input.Rmd", BiocStyle::pdf_document())
# 
# # specify an option for latex engine
# render("input.Rmd", BiocStyle::pdf_document(toc = FALSE))
# ## End(Not run)

Run the code above in your browser using DataCamp Workspace