Path: utzoo!utgpu!attcan!uunet!mcvax!kth!draken!Urd!hurratio!olof From: olof@hurratio.tde.lth.se (Olof Ekdahl) Newsgroups: comp.lang.postscript Subject: Re: Postscript within TeX/LaTeX (dvi2ps help)? Keywords: TeX, LaTeX, Postscript, dvi2ps Message-ID: <5953@hurratio.tde.lth.se> Date: 17 Mar 89 13:49:36 GMT References: <240@terminus.Morgan.COM> Reply-To: olof@hurratio.UUCP () Organization: Dept. of Applied Electronics, University of Lund, Sweden Lines: 24 In article <240@terminus.Morgan.COM> chuck@Morgan.COM (Chuck Ocheret) writes: >I am using dvi2ps (from MIT?) to convert LaTeX output to postscript. Below is the LaTex file in which I have inserted a line which creates space for the figure (LaTex doesn't do it). Furthermore You should try the offset parameters 'hoffset' and 'voffset' within the '\special{}' command. Latex has its own translations and scaling, and together with the ones You put in the Postscript file, the figure might be placed outside the paper. Anyway, if the firgure is supposed to be in top of the paper, you must place the picture origo (with the 'vspace') so there is enough room. You must also run LaTex from the same directory as your foo.ps file. Otherwise declare the path in the 'special' command. >--- begin LaTeX code-------- >\begin{figure} \vspace{y} %% size in y. You have to create Your own figure space. >\special{psfile=foo.ps hscale=.5 vscale=.5} >\caption{test caption} >\label{figure_x} >\end{figure} Best regards / Olof Ekdahl