latex: LaTeX Utilities for Vignettes

Description Usage Arguments Details Functions Examples

Description

latex_preamble outputs/returns command definition LaTeX commands to be put in the preamble of vignettes.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
latex_preamble(
  PACKAGE,
  R = TRUE,
  CRAN = TRUE,
  Bioconductor = TRUE,
  GEO = TRUE,
  ArrayExpress = TRUE,
  biblatex = FALSE,
  only = FALSE,
  file = ""
)

latex_bibliography(PACKAGE, file = "")

Arguments

PACKAGE

package name

R

logical that indicate if general R commands should be added (e.g. package names, inline R code format commands)

CRAN

logical that indicate if general CRAN commands should be added (e.g. CRAN package citations)

Bioconductor

logical that indicate if general Bioconductor commands should be added (e.g. Bioc package citations)

GEO

logical that indicate if general GEOmnibus commands should be added (e.g. urls to GEO datasets)

ArrayExpress

logical that indicate if general ArrayExpress commands should be added (e.g. urls to ArrayExpress datasets)

biblatex

logical that indicates if a \bibliography command should be added to include references from the package's REFERENCES.bib file.

only

a logical that indicates if the only the commands whose dedicated argument is not missing should be considered.

file

connection where to print. If NULL the result is returned silently.

Details

Argument PACKAGE is not required for latex_preamble, but must be correctly specified to ensure biblatex=TRUE generates the correct bibliography command.

Functions

Examples

1
2
3
4

pkgmaker documentation built on Oct. 23, 2020, 6:40 p.m.

Related to latex in pkgmaker...