TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering if the correct way to include an image\graphic in latex is A) crop ALL the white space around the figure and let LaTeX handle the borders/spacing completely; B) leave a white border in the graphic (if so, how much would be appropriate?).

share|improve this question
I mean crop ALL the white space before including it. In the jpg file for example. – gbombara Feb 17 '13 at 17:16
Welcome to TeX.SX! – nnunes Feb 17 '13 at 17:26
up vote 7 down vote accepted

I would say option A is the best way. The reason is that accurate alignment of the graphic then becomes simple. For example if you insert \includegraphics[width=\textwidth]{fname.jpg} to include your graphics in the text, you expect the graphic (not including any border) to span the entire text width. With a white border this will of course not happen.

In addition, it is possible that bitmap based images may not have pure white backgrounds (although image manipulation can fix this). In such cases your borders might be visible as a light grey tone around the graphic.

share|improve this answer
@Thruston Thanks! I can't believe I wrote that :-) – Peter Jansson Feb 17 '13 at 17:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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