Message-ID: <1127792451.7523.8.camel@Tardis.considine.local>
Date: 2005-09-27T03:40:51Z
From: John Charles Considine
Subject: figure widths in sweave
In-Reply-To: <1127738054.7532.42.camel@Tardis.considine.local>
On Mon, 2005-09-26 at 20:34 +0800, John Charles Considine wrote:
> gRoovers,
>
> Can the size of figures be controlled from within a noweb document
> without resorting to editing the \includegraphics sections in the .tex
> file?
>
yes,
Sweave sets graphics widths to 0.8\textwidth by default. To change it
for a document, to say 1.0\textwidth, include the line
\setkeys{Gin}{width=1\textwidth}
after \begin{document} in the noweb file.
see p.12 of Sweave manual at...
http://www.ci.tuwien.ac.at/~leisch/Sweave/Sweave-manual-20050914.pdf
> Can the figure widths be set in the environmental declarations at the
> start?
>
> Can they be set within the \begin{figure} environment?
>
> JC
>
> ______________________________________________
> R-help at 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