importing a PS figure into LaTex [message #2102] |
Thu, 02 June 1994 08:36  |
kump
Messages: 9 Registered: January 1994
|
Junior Member |
|
|
I'm having difficulties importing a postscript figure into Latex.
My general steps are to create a ps output (set_plot,'ps') with
(device,/ENCAPSULATED), then include into a LaTex document.
I am looking to output both images and plots.
In Latex I have tried to use psfig as I generally do with other PS files.
IDL tech support referred me to idlplot_dvips.tex (found in IDL distribution)
which really didn't help too much--I am using Radical Eye dvips not
ArborText dvips.
The problems I am experiencing are wrong sizing, missing figures, even
strange figures.
Any help is appreciated.
Thanks,
Ken Kump
Biomedical Image Processing Laboratory
Department of Biomedical Engineering
Case Western Reserve University
Cleveland, Ohio 44106, USA
E-mail: kump@morph.ebme.cwru.edu
|
|
|
Re: importing a PS figure into LaTex [message #2164 is a reply to message #2102] |
Mon, 06 June 1994 03:54  |
sjt
Messages: 72 Registered: November 1993
|
Member |
|
|
We use radical eye dvips here and I've never had any problems, using
\documentstyle[epsf,11pt]{article}
in the header and then creating the figure with:
\begin{figure}
\epsffile{idl.ps}
\caption{whatever}
\end{figure}
The only slight catch is that you must only use
device,/landscape if you really want the figure perpendicular to the text.
--
James Tappin, School of Physics & Space Research
University of Birmingham
sjt@xun8.sr.bham.ac.uk
"If all else fails--read the instructions!"
|
|
|
Re: importing a PS figure into LaTex [message #2171 is a reply to message #2102] |
Fri, 03 June 1994 16:47  |
jacobsen
Messages: 28 Registered: July 1992
|
Junior Member |
|
|
I routinely include all sorts of IDL EPS files into
LaTeX. I use epsf.tex like this:
\input{epsf}
...
\begin{figure}
\epsfxsize=6.in
\centerline{\epsfbox{file.eps}}
\caption{blah blah}
\end{figure}
I use the stock epsf.tex file on ftp.shsu.edu
quote site index epsf.tex
On PC-TeX for windows, I have a modified version:
anonymous ftp to xray1.physics.sunysb.edu
cd pub/msdos/pctex
get epsf.tex
--
Chris Jacobsen, Asst. Prof., Department of Physics, SUNY at Stony Brook
Phone (516) 632-8093, FAX -8101 Bitnet: cjacobsen@sbccmail
jacobsen@xray1.physics.sunysb.edu Stony Brook ALL-IN_ONE: CJACOBSEN
|
|
|
Re: importing a PS figure into LaTex [message #2172 is a reply to message #2102] |
Sat, 04 June 1994 09:21  |
thompson
Messages: 584 Registered: August 1991
|
Senior Member |
|
|
kump@fluoro.cwru.edu (Kenneth S. Kump) writes:
> I'm having difficulties importing a postscript figure into Latex.
> My general steps are to create a ps output (set_plot,'ps') with
> (device,/ENCAPSULATED), then include into a LaTex document.
> I am looking to output both images and plots.
> In Latex I have tried to use psfig as I generally do with other PS files.
> IDL tech support referred me to idlplot_dvips.tex (found in IDL distribution)
> which really didn't help too much--I am using Radical Eye dvips not
> ArborText dvips.
> The problems I am experiencing are wrong sizing, missing figures, even
> strange figures.
That's interesting. I've had no trouble using psfig to include IDL generated
.eps files with either Arbortext's dvips or with the shareware program of the
same name.
Bill Thompson
|
|
|