[R] need settings for the listings package
andy_liaw at merck.com
Mon Apr 26 15:10:22 CEST 2004
My suggestion would be to look at what Sweave does. It typesets code in
italics and output in upright. I believe you just need to use the style
> From: Tamas Papp
> I am typesetting R code in TeX using the listings package. I have
> experimented with various settings for the text, but all look a bit
> ugly. This might be because I have no typographic experience ;-)
> I would really appreciate if people sent me the settings they use for
> the listings package (eg in the \usepackage line, or \lstset, I am
> thinking about choices for basicstyle, ... etc). I could experiment
> with lost of different settings, but I guess that some people who use
> listings have already come up with a style they like. I am printing
> in black and white (though color is possible, I just don't think it
> would add much, but color settings are welcome too).
> Tamás K. Papp
> E-mail: tpapp at axelero.hu
> Please try to send only (latin-2) plain text, not HTML or
> other garbage.
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide!
More information about the R-help