RE: [R] Sweave/margin

From: Doran, Harold <HDoran_at_air.org>
Date: Sat 19 Mar 2005 - 08:54:30 EST


Try a code chunk like this:

<<echo=FALSE>>=
options(width = 70)
@

-----Original Message-----
From: r-help-bounces@stat.math.ethz.ch [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Katharina Hoff Sent: Friday, March 18, 2005 4:50 PM
To: r-help@stat.math.ethz.ch
Subject: [R] Sweave/margin

Hi!

I am currently using Sweave for writing my bachelor thesis - and I have a problem:

I am using a LaTeX style (report) with quite big margin spaces. The Sweave generated LaTeX code "floats" into the margin - and it looks ugly. The text is blocked and fine... then there comes some flattering code running over the margin... and blocked text again.

Considering the LaTeX output, I guess that Sweave puts the source code somehow in LaTeX-boxes and I suppose there is a place where I could change the width of the source code boxes (At a certain point, there is a break, closely before the text would drift out of the page. Then the code continues in new lines below.)

Does anyone know where I could change or insert the box width?

Or probably I am totally wrong and someone knows another solution...

Hoping for help - and excuse if anyone asked this stupid question before, I did not find it in the archive,

Katharina Hoff

--
DSL Komplett von GMX +++ SupergŁnstig und stressfrei einsteigen!
AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl


______________________________________________
R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
______________________________________________
R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sat Mar 19 08:58:49 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:51 EST