I use knitr
to weave my .Rnw documents into .tex and then .pdf document (still using pdflatex
).
I'm looking for a solution to have the exact same format for inline code and for code chunks. I can use the texttt{}
function to get the same font, but I am looking for a way to get the exact same format (font, background color, syntax highlighting).
Somebody has an idea?