LaTeX forum ⇒ Graphics, Figures & Tablesimages in a wrong order

Information and discussion about graphics, figures & tables in LaTeX documents.
colino
Posts: 4
Joined: Tue May 21, 2013 12:59 pm

images in a wrong order

Postby colino » Tue May 21, 2013 1:04 pm

Hi,
i'm a beginner with Latex, i have the following problem:

in source, i put images in an order but when i compile to pdf, this order disappear and images appear before or after the position i need
How can i solve the problem?

Tags:

User avatar
Stefan Kottwitz
Site Admin
Posts: 9525
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue May 21, 2013 1:33 pm

Hi Colino,

welcome to the forum!

If you simply use \includegraphics, the image would appear exactly at the position where you used that command.

However, if you use a {figure} environment: this is a so called floating environment, LaTeX chooses a position for you which is the best regarding page layout and page breaking. If you don't want it, don't use it. The way of floating can be adjusted. You understand, that automatic positioning of figures can be very useful in big documents such as books - just imagine you absolutely positioned a figure, and insert something at the beginning, the figure hasn't space on a page any more, goes to the next page, leaving much empty space, affecting following pages and figures ... the LaTeX figure concept prevents this. One just has to understand it.

Have a look at LaTeX Resources for Beginners and read some introductions or a tutorial to understand the concept of floating figures.

Stefan
Site admin


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 3 guests