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 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
add comment

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

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

1 Answer

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:

\includegraphics[scale=1.0]{image.png} 

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

 \begin{figure}[h]
  \centering
  \includegraphics[scale=1.0]{image.png}
  \caption{Caption of figure.}
  \label{fig:imageLabel}
 \end{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
add comment

Your Answer

 
discard

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