Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.