As suggested by @Roland, knitr themes (?knit_theme
) do the job. In particular, the print
theme seems to suite black-and-white printing best. A gallery of all built-in knitr themes can be found here http://animation.r-forge.r-project.org/knitr/
In particular, to set print
theme in my Rnw document put this in the initial R code chunk:
opts_knit$set( out.format="latex" )
knit_theme$set("print")