You want to put top quality LaTeX equations into figures made
using tools like xfig or R? Here's how:
Make your .eps file `as usual' using whatever program
you are with, such as R or xfig. As an example, here is a file
psfragdemo.R which makes a file psfragdemo.eps. In
this file, put in plain text "labels" to identify the places
where you want equations placed.
The file psfragdemo.tex shows how to use
the psfrag package to replace your labels by arbitrary
latex equations. Here is the end
product. It is pretty!
Here is a .tex file
which is a full example of a working paper done using LaTeX. It is
not self-contained - you can't run the file right away. It is intended
for you to read the .tex file that is required to produce this
pdf file. It internally uses a few .pdf files of pictures - when
you do this obviously you will have your own .pdf files. It internally
also wants a file ansue.bib which is the bibliography file. You will
have to plug in your own .bib file instead.
I'm not a LaTeX guru! Please show me how to make it better.
Bag of tricks that are useful when
you have written a beautiful LaTeX article, and the journals /
publishers want you to submit it to them in various bizarre forms.