[comp.text.tex] Scaling postscript file with dvips

dp@adagio.chorus.fr (Didier Poirot) (04/05/91)

I have a problem to scale an included postcript file with epsf macro, provided
with dvips from T.Rokicki (V5.47). The problem comes from the fact that I try 
to distort the file by specifying both \epsfxsize and \epsfysize. Only the xsize
seems to be applied.


The little example below illustrates the problem. The file rectangle.ps  only
contains a rectangle (not a square). If all go well, I normally get a square.. But I
continue to get a rectangle 3inches wide.


\documentstyle[a4wide,epsf]{article}
\input epsf
\begin{document}

\begin{figure}[hb]
     \vskip .5\baselineskip
     \begin{minipage}\columnwidth
          \centerline{\hbox{\epsfysize=3in\epsfxsize=3in\epsfbox{rectangle.ps}}}
     \end{minipage}
     \vskip .5\baselineskip plus .5\baselineskip
     \caption{The COOL architecture}
     \label{fig1}
     \vskip 2pt
\end{figure}

\end{document}


I have tried several combination, using \leavevmode without any success.

	Any ideas ??	Thanks in advance

-- 
   "Never trust a programmer that carries a screwdriver" - George Morrow

          /     /               Didier Poirot
       __/ o __/ o _  __        Chorus Systemes
      (_(_(_(_(_(_(<_/ (_       6 avenue Gustave Eiffel
                                F-78182, St-Quentin-en-Yvelines-Cedex

dp@chorus.fr (Internet)