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

Possible Duplicate:
Keeping tables/figures close to where they are mentioned

I am including graphics into my latex documents as below:

\caption{Same caption}

Only the first image is being displayed where I have inserted it. Rest all images are being displayed at the end of the section.

Note: I have designed some images in Dia diagram editor and converted them to PNG. Then I used convert abc.png eps3:abc.eps to convert them to EPS format.

share|improve this question

marked as duplicate by Martin Scharrer Aug 7 '11 at 18:04

This question was marked as an exact duplicate of an existing question.

This is normal. The figure environment is a float and is supposed to float through the text until some suitable place is found. See Keeping tables/figures close to where they are mentioned. Also [abc] is a invalid optional argument of figure. And don't use the center environment, but the \centering macro. – Martin Scharrer Aug 7 '11 at 18:03

Inside a floating environment you shouldn't use an environment like center. You get additional vertical space. It is better to use \centering

\caption{Same caption}

The optional argument of a floating environment like figure is the positioning,

p=extra page

You use abc which makes no sence. I prefer:


Some more explanation you can find here: Wikibook LaTeX/Floats, Figures and Captions

share|improve this answer

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