latex {BiocStyle}R Documentation

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

latex(..., width=90, short.fignames=FALSE, fig.path)

Arguments

...

Additional arguments, passed to options.

width

integer(1), maximum number of columns on a line used in printing. See options.

short.fignames

logical, indicates whether \incfic figures should be inserted and refered to using short names equal to corresponding code chunk labels without any additional prefix.

fig.path

character, 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.

Details

Use is described in the ‘Bioconductor LaTeX Style’ vignette.

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.

Author(s)

Martin Morgan mtmorgan@fhcrc.org, Andrzej Oles, Wolfgang Huber

Examples

## location of the .sty file
system.file(package = "BiocStyle", "sty", "Bioconductor.sty")

[Package BiocStyle version 1.0.0 Index]