Ross Darnell
2005-Dec-02 00:38 UTC
[R] Sweave: How can I include S input in paragraph mode
Sweavers As the title suggests I would appreciate any help to include S code in ordinary paragraph mode. I can use the textsl font but is isn't the same. Thanks Ross Darnell
Friedrich.Leisch@tuwien.ac.at
2005-Dec-02 08:02 UTC
[R] Sweave: How can I include S input in paragraph mode
>>>>> On Fri, 02 Dec 2005 10:38:21 +1000, >>>>> Ross Darnell (RD) wrote:> Sweavers > As the title suggests I would appreciate any help to include S code in > ordinary paragraph mode. I can use the textsl font but is isn't the > same. You can always renew the Sinput and Soutput environments to whatever you like. Sweave.sty provides a default setting, but you are free to modify them as you like. E.g., for slides I redefine them such that input and output have different colors. HTH, -- ------------------------------------------------------------------- Friedrich Leisch Institut f??r Statistik Tel: (+43 1) 58801 10715 Technische Universit??t Wien Fax: (+43 1) 58801 10798 Wiedner Hauptstra??e 8-10/1071 A-1040 Wien, Austria http://www.ci.tuwien.ac.at/~leisch