>>Date: Thu, 17 Aug 2000 03:40:49 -0500
>>From: Paul E Johnson <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: insert Latex figure outputed from R?
>>
>>
>>I'm considering using Lyx for an academic book writing project. I have
>>used it for small projects in the past, and I think it works pretty
>>well. I think the last time I used Lyx, it was version 1.0, and at that
>>time there was no ability to import LaTex files. So I'm quite happy to
>>see reLyx and all working.
>>
>>I've been learning a stat program called R and it can output Latex
>>figures. Here is what they look like at the top:
>>
[snip] latex code example
>>
>>My idea was that I would be better off to use these with Lyx than a ps
>>figure, because scaling of a latex figure would not necessarily shrink
>>the fonts, but ps would shrink fonts. Totally wrong?
>>
>>Anyway, can you tell me how to bring such a latex figure into lyx? Under
>>insert/figure, I only get 2 eps/ps options.
Define the layout in LyX (float, centring, depnding on how you
want to have it) and then parch the lataex code with
Insert->Include file->Use input
This avoids a lot of ERT in the lyx source, and allows to
update separately the figure and the document.
Be sure to force a rerun of latex if you change only the figure.
--
Jean-Pierre