Liviu Andronic <landronim...@gmail.com> writes:
> Hmm, would it make sense to notify Friedrich Leisch, the author of Sweave?

I guess he knows already...

> And a question slightly departing from the original post, I am curious
> where should one choose the font for the actual R computations? In the
> attached .pdf, the code and results are displayed in a "No name" font
> (see attached screen shot). Is this something that can be set via the
> LaTeX preamble or the Sweave syntax?

Yes, Sweave uses fancyvrb.sty. In my documents I use:

\RecustomVerbatimEnvironment{Soutput}{Verbatim}{fontsize=\scriptsize}
\RecustomVerbatimEnvironment{Sinput}{Verbatim}{fontsize=\scriptsize, 
fontshape=sl}

You have to experiment to have the effect you want.

JMarc

Reply via email to