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.

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 am inserting a jpg/png image in my LaTeX document in center environment. The problem is when I insert the image, the text following the image loses the justify property. Also the itemize does not work well, probably looks like the previous line overflowed.

How can i justify the text?

share|improve this question

migrated from stackoverflow.com Mar 19 '13 at 19:24

This question came from our site for professional and enthusiast programmers.

Are you using graphicx package? more precisely is there any line of \usepackage{graphicx} in the beginning of your document? Later, while actually adding image are you using:


If you really want your floating image to be at a specific position then try adding [h] parameter, such as:

  \caption{Caption of figure.}
share|improve this answer
or [h!] if you want an image to appear exactly at the position you specify. Though, this doesn't always work as expected. If you want text to wrap your figure you may want to use 'wrapfig'. – Eugene B Mar 19 '13 at 15:22

Your Answer


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