[Bioc-devel] BiocStyle for styling Sweave (and other?) vignettes

Martin Morgan mtmorgan at fhcrc.org
Sun Jul 14 17:23:24 CEST 2013


Developers --

Sweave-style vignettes often include copy-pasted versions of basic LaTeX macros 
and other commands. We've created the BiocStyle package to make it easy to add 
these macros, and a consistent style, to Bioconductor vignettes -- just add 
Suggests: BiocStyle to your package DESCRIPTION, and the following lines inside 
the preamble (between \documentclass{article} and \begin{document}) of your vignette

<<style, eval=TRUE, echo=FALSE, results=tex>>=
BiocStyle::latex()
@

Details, including illustration of macros and styles, are in the package vignette

 
http://bioconductor.org/packages/devel/bioc/vignettes/BiocStyle/inst/doc/LatexStyle.pdf

and on the ?latex help page. Suggestions welcome. Perhaps this can be extended 
for non-Sweave vignettes.

Martin
-- 
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M1 B861
Phone: (206) 667-2793



More information about the Bioc-devel mailing list