BiocStyle (version 2.0.2)

latex2: Use Bioconductor styles to format LaTeX vignettes

Description

This function inserts code into a document preamble to provide a consistent style to Bioconductor vignettes.

Usage

latex2(..., width, titlecaps = TRUE, short.fignames=FALSE, fig.path, use.unsrturl=TRUE)

Arguments

...
Additional arguments, passed to options.
width
integer(1), maximum number of columns on a line used in printing. See options.
titlecaps
logical(1), emphasize the first sentence of float captions
short.fignames
logical(1), indicates whether \incfig figures should be inserted and referred to using short names equal to corresponding code chunk labels without any additional prefix.
fig.path
character(1), custom prefix to be used for figure file names when used with knitr; has no effect when compiled with Sweave. For details see opts_chunk.
use.unsrturl
logical(1), indicating that the ‘unsrturl’ style will be used (\bibliographystyle command not required).

Value

The return value is a character string directing LaTex to use the Bioconductor style file.A side effect is setting any options specified as arguments.

Details

Use is described in the ‘Bioconductor LaTeX Style 2.0’ vignette. By default the 'unsrturl' bibliography style is used, which automatically creates links to URL, DOIs, etc. Use a different bibliographystyle with use.unsrturl=FALSE and standard LaTeX commands for styling bibliographies.

Examples

Run this code
## location of the .sty file
BiocStyle:::bioconductor2.sty

Run the code above in your browser using DataCamp Workspace