I am writing a document with knitr (Rnw for processing in PDF) that will be printed in black. I would still like the code snippets to have syntax highlighting.
Is it possible, and how to change the default syntax fonts to use grayscale, etc.?
PS. I do not want to switch to the LaTeX ad package.
r knitr latex
Michał
source share