[texhax] Extra space around

Herbert Voss Herbert.Voss at fu-berlin.de
Fri Aug 31 18:45:07 CEST 2007


tug at wiseguysweb.com wrote:

> > I have used the following code snippit to display an image on a document.  
> > However, the image has more space around the righthand side than the rest of 
> > the frame.  I need to use the pstricks package to get the effects I want as 
> > well.
> >
> > I have tried the following image formats: jpeg, eps, pdf.  If I view the 
> > original image, there is no padding on the righthand side.
> >
> > Why is the extra space there?
> > How do I get rid of the extra space on the righthand side?
> >
> > \documentclass{article}
> > \usepackage{graphicx}
> > \usepackage{pstricks}
> >
> > \begin{document}
> >
> > \psframebox[framearc=0, framesep=2pt]{%
> >   \includegraphics[bb=0 0 1600 1200, width=\textwidth]{images/sunset.eps}
> > }
> >
> >   
>   

  \includegraphics[bb=0 0 1600 1200, width=\textwidth]{images/sunset.eps}%
}

without the % you'll get a space

Herbert





More information about the texhax mailing list