Re: Is there any productive way to use Mathematica + pdfLaTeX?
- To: mathgroup at smc.vnet.net
- Subject: [mg47264] Re: Is there any productive way to use Mathematica + pdfLaTeX?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 2 Apr 2004 03:30:06 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <c4g69g$qtu$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, the only working version I use is to save a EPS and than use Acrobat Distiller or GhostScript. Because Mathematica does not include the fonts into the pdf-file and the size need a lot of fine tuning. BTW don *not* give an explicit extension for \includegraphics{} because LaTeX will look for the EPS file while pdflatex look for a PDF file when no extension is given. Regards Jens Inacio Guerberoff wrote: > > Hello > > I use Mathematica 5.0 and would like to know if there is any easy and > fast way to include Mathematica plots in pdfLaTeX documents. The way I > know is to make a Export[graph,"file.pdf"] for example, and then > include in the tex file the following: > > \includegraphics{file.pdf} > > The problem is that the PDF generated by Mathematica is weird, because > the plot is on the bottom-left of the page, and the same thing happens > in the document. I think what would solve the problem would be a > function like PlotPDF[Plot[x^2,{x,0,2}],"file.pdf"]. This function > saves the plot in "file.pdf", but in a way that you can insert it > directly in a LaTeX document. > > Anyone has tips on this task? > > Thanks > Inacio Guerberoff