search for: mysweave

Displaying 3 results from an estimated 3 matches for "mysweave".

2009 Mar 17
1
Combining Sweave and fancyvrb
I find Sweave very useful and I was trying to combine it with the latex package fancyvrb. I was trying to get line numbering and labels in order to reference the lines where particular commands occur. Unfortunately, I haven't been able to figure out how to do it. Maybe somebody can help me. The following is a sample Rnw file: the first part shows what I would like to get, the second what I
2005 Jan 06
2
autoscaling plot font size in Sweave output possible?
Hi, I was wondering if it's possible to have fonts in plots to be autoscaled to the same font size used by LaTeX in a surrounding Sweave document. Here's a short example in which the fonts of the first plot are barely readable: --8<------------------------schnipp------------------------->8--- \documentclass{article} \usepackage{graphicx} \newcommand{\mytext}{Some normal sized
2005 May 31
0
Plot Font Size in Sweave
...is is still the best option for this problem or if another solution may exist. Here is how I have resolved the issue based on the prior thread. 1) I modified the original Sweave.sty by commenting out %\ifthenelse{\boolean{Sweave@gin}}{\setkeys{Gin}{width=0.8\textwidth}}{} % I then save this as MySweave.sty and make the appropriate change in the rnw to use this sty instead of Sweave 2) I then set the height and width of each plot inside each code chunk and also use ps() inside each code chunk as well to modify the text font size. For example <<echo=FALSE, fig=TRUE, eps=FALSE, width=4, hei...