I wish to insert a R code chunk in a LaTeX document. The default settings for the listings
package also changes the font, but not the colour, which I need.
Although I understand that I can set the colours using the lstset
function, I am not very sure of the combination that would look good. Thus, can anyone share their lstset
settings for the listings
package to colour R syntax? This way everyone who sees this post can use the same settings!