In article <firstname.lastname@example.org>, Alan Schwartz <email@example.com> wrote:
> Is there a simple way to incorporate graphics generated by > Mathematica into a TeX document (specifically AmsLatex 2e). > > I suspect that this involves somehow generating an appropriate > Postscript file, but I cannot find out from the Mathematica > book how to do this. >
I assume that you already know how to include PS or EPS-files into TeX-documents.
Depending on the system you are working on, you could of course go through the print menu and print to a PS-file, or use the clipboard in some way, but I would not recommend this: It's painful, because it requires lots of mouseclicks every time you change the graphics, and the quality of the PS-file created this way is variable at best, depending on your printer driver (under windows, you typically end up with about a megabyte of garbage).
A much more clever solution is to use the DISPLAY-function (this function and the very useful job it performs is well hidden in Wolfram's book). DISPLAY produces a file which is not yet a correct PS-file; it has to be fixed by a program called 'psfix'. All this can be done from within mathematica; I am running mma under Linux and use the following function, which produces a good-quality EPS-file from any graphics object: