Hi,

I had the same problem once. The solution is quite simple:

  - Add "\usepackage[dvips]{color}" in "Layout>Latex Preamble..."
  - Insert the Xfig-File via "Insert>External Material" and 
    choose "Xfig" as Template and then choose the filename 
    of your figure

This solution has the advantage that you can use the power of latex-formula 
type-setting in your figure by editing the properties of the label with the 
formula and choosing the "Special Flag" as "Special". Now you can type in the 
formulas as you are used to in latex (like "$\pi^{2}").

Michael.

Am Dienstag, 23. Juli 2002 14:58 schrieb Jos� Luis G�mez Dans:
> It must be me...
>       I still have problems using ps+latex files exported from Xfig. I have
> read the document detailing how to do itn http://www.lyx.org/help, but
> to no avail. OK, here's a point by point guide:
> 1./ I add \usepackag{graphicx} to the preamble
> 2./ The figure is created in xfig and saved as ps+latex
> 3./ A fig float is inserted in the document
> 4./ Inside the float, I insert->Include File
> 5./ the name of the xfig-exported file is thrown in (file.pstex_t), and
> the only button selected is  "Use Include".
> 6./ I add a caption and all
> 7./ the PS preview shows the caption, some white space, but the figure
> is nowhere to be seen.

Reply via email to