Sweave: Changing the background color, adding a border
Christophe Genolini <cgenolin <at> u-paris10.fr> writes: ...
Thanks for your answer. I finally succeed.
I used the listings package to define an environment that put code in a
grey box. The command is \lstnewenvironment{Sinput}[1][]{
... This is too nice code to be lost, but it suffers from some line-break-problems and it would be good if it were a self-running Sweave example. May I suggest that you put it in some format-conserving place, e.g. in the Wiki, and post the link here? Dieter