Hi,

>   Anyone know how to get LaTeX equations into xfig (for inclusion into a LaTeX 
> document)?
> 
I suppose you have a drawing made in xfig, and in that drawing you would
like to print LaTeX-formatted text (or equations).

To proces text as LaTeX when it is imported in a TeX document, you need to
set the text flag "special" to "special" (in contrast with "normal"). You
can do this on the command line, see man page, or by selecting text input
and you'll find at the bottom of your screen a button "text flags". Click
it and switch the flag. 
The text that you enter is the text you would enter in your document.
like $a^2+b^2=c^2$. I don't know whether you could use an
equation-environment, but it worth to try.

Exporting the figure can be done by selecting the language
"combined PS/LaTeX" You need to export it twice, both the LaTeX part and
the
PS part. You'll get a LaTeX-file which contains the text (equations) you
put in, and a call for a ps-file. To include the figure in your document
you could do it as
\begin{figure}
\input{your-xfig-latex-part-file}
\end{figure}

You need also the packages graphics, and epsfig I believe.


Hope this wil work for you.

Lucas

Reply via email to