Kofi Laing writes:
> I need latex equations inside the diagrams (in different levels :-).
> Normally if this were an ordinary black and white drawing for print,
> psfrag would do the job perfectly. That's exactly the kind of
> functionality I need. Does anyone know how to do this with pdflatex,
> multiinclude and ppower4?. It should allow me to define the equations
> either in the .tex file (like psfrag), or else inside the xfig diagram
> (like using specials with pstex).
Do you really want an equation environment (with equation numbering
etc.)? This would not be that easy, because the correct counter values
are not known when the equation is processed.
In case you just need a math formula, proceed as follows:
If you export to MetaPost (and multi level MetaPost) just tag the
texts you want to see in math mode as "special" in the xfig text
parameters and enter the formula just as in your document (e.g. type
"$x+y$", without the quotes, but with the dollars). You won't see the
proper result in xfig, but later in your document.
Depending on your version of the xfig to MetaPost converter you may be
restricted to plain TeX syntax for your math text in the default
configuration. The latest version should allow you to use LaTeX syntax
by default.
Enjoy,
Klaus
--
Klaus Guntermann <[EMAIL PROTECTED]>
FG Systemprogrammierung, FB Informatik, TU Darmstadt
Wilhelminenstr. 7, 64283 Darmstadt, Germany