From: Deepayan Sarkar <deepayan_at_stat.wisc.edu>

Date: Sat 19 Mar 2005 - 09:01:41 EST

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 09:06:25 2005

Date: Sat 19 Mar 2005 - 09:01:41 EST

On Friday 18 March 2005 15:49, Katharina Hoff wrote:

*> 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?
*

If I understand your problem correctly, you might want to try putting

options(width = 40)

at the top of your first chunk.

> 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,
*

It's in the Sweave FAQ: http://www.ci.tuwien.ac.at/~leisch/Sweave/FAQ.html

-Deepayan

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 09:06:25 2005

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