>>Date: Mon, 13 Mar 2000 14:32:39 +0100 (MET)
>>From: Torsten Mueller <[EMAIL PROTECTED]>
>>Subject: Re: xfig figure with formula
>>To: [EMAIL PROTECTED]
>>
>>>Insert a \usepackage{epsfig} in your preamble (doesn't work without it here)
>>this was the problem, now with this it works, thanks for your help.
>>
>>The disadvantage is, that I cannot see the figure anymore on the screen.
>>This is the thing I like most with LyX compared to other LaTeX editors.
>>Is there any other solution, where I can see the figures on the screen?
>>
>>
>>Thanks,
>>Torsten
>>
Yes, use the other way round: import LyX formulas in xfig.
A bit cumbersome, but efficient:
- create a LyX document for each math insert in xfig, say foo.lyx
- export as LateX -> foo.tex
- compile and produce an eps image -> foo.eps (option -E of dvips)
- insert in xfig
Be sure to have a \pagestyle{empty} if you want an eps of the right size.
Here is an example in foo.tex (one step back for foo.lyx):
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$\mathcal{H}_\infty$
\end{document}
then
latex foo;dvips -E -o foo.eps foo
When you use it often, you will be happy to build a bank of formulas.
You might probably use the customize command of LyX to implement it.
Regards
--
Jean-Pierre