On Fri, Jun 25, 2004 at 01:51:08PM +0200, Christoph Lehmann wrote:

> I use sweave for excellent pdf output (thank you- Friedrich Leisch). I
> have just one problem. Quite often it happens, that the graphics are not
> at the place where I expect them, but (often on a separate page) later
> on in the pdf. How can I fix this, means how can I define, that I want a
> graphic exactly here and now in the document?

This is not an R problem.  Standard LaTeX is squeamish about putting
figures on a pages where the fit is "tight".

Put

\renewcommand\floatpagefraction{.99}
\renewcommand\topfraction{.99}
\renewcommand\bottomfraction{.99}
\renewcommand\textfraction{.01}

in the document preamble.  You might have to play around with the
values a bit, make sure that \textfraction and the others add up to 1.

Best,

Tamas

-- 
Tam�s K. Papp
E-mail: [EMAIL PROTECTED] (preferred, especially for large messages)
        [EMAIL PROTECTED]
Please try to send only (latin-2) plain text, not HTML or other garbage.

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to