I need to make the picture with the width of one column in two column paper, and I wrote \linewidth but it doesn't work as shown below; it's smaller than the width and also it is very small. I need to make it bigger; any help?

my photo

  • 1
    You most like have a white border around the image. To see whether this is the case, use \fbox{\includegraphics[width=\dimexpr\linewidth-2\fboxsep-2\fboxrule]{<image>}}. – Werner Apr 9 '13 at 4:04
  • no i didn't want to have a border, i need to increase the width of the photo from both side – SMH Apr 9 '13 at 4:07
  • 2
    What I'm saying is that \fbox will show you whether you actually already have a white border around the image. Post the output with what I presented above so we can see what it looks like. – Werner Apr 9 '13 at 4:10
  • 1
    The picture is supposed to stay the same size (actually a tad smaller). Either way, it idea behind asking you to actually show the image with the border would be to highlight whether or not there is a thick white border around your image. If so (which is likely), then you should use epstool to trim the whitespace around the image... – Werner Apr 9 '13 at 4:21
  • 1
    See Tight bounding box for EPS. – Werner Apr 9 '13 at 4:22

your image has a lot of whitespace around it. You can clip the image with

\includegraphics[trim=20 20 20 20,clip]{...}

(choose correct four values, in my example it is 20pt on all sides).


With PSTricks.

enter image description here

% filename is main.tex
% compile it with pdflatex -shell-escape main.tex






\immediate\write18{latex dummy}
\immediate\write18{dvips dummy}
\immediate\write18{ps2pdf dummy.ps}

Karl's students do not care about dashing patterns.
\caption{The cropped image}
Karl's students do not care about arrow tips. Karl's students, by the way, do not know what a transformation matrix is.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.