Dekel Tsur wrote:
>On Tue, Oct 15, 2002 at 11:42:19AM +0200, Andre Poenitz wrote:
>
>>On Tue, Oct 15, 2002 at 10:03:05AM +0800, Hisyam Lee wrote:
>>
>>>What is the best way to draw an ellipse and write an lyx/latex equation
>>>
>>> x^2 y^2
>>>----- + ----- = 1 beside the graphic?
>>> a^2 b^2
>>>
>>xfig and pstricks or xfig and "special text" in xfig.
>>
>
>Or sketch+latex plugin, or psfrag.
>
Put in the preamble:
\usepackage{psfrag}
\psfragscanon
and, in your xfig figure:
\tex{$\frac{x^2}{a^2}+\frac{y^2}{b^2}=1$}
If you do a view ps inside lyx, you'll have a beautiful equation inside
your figure.
Your sincerely,
YC