I have a LaTeX document that contains a paragraph followed by 4 tables followed by a second paragraph. Table does not show up at the same position it was inserted in the TeX file. MartinSchr der: Not using a floating environment at all does more than just changing the way LaTeX positions the table.
If you wish to place the figure near, allow more positioning options, for instance by htbp (here, top, bottom, page). So, usually the best thing to do is just to let LaTeX do its work and don’t try to force the placement of figures at specific locations. To overcome this, LaTeX will float this over to the next page, whilst filling the current page with body text.
A similar problem is the exact placement of tables where usually the table environment is used. This topic was discussed in the LaTeX Community Forum and on the MatheBoard. The figure environment: This takes care of the placement of the figure, and the automatic numbering of the figures. The graphicx package is also documented in the LaTeX Graphics Companion. The tabular is the de-facto way of presenting tabular data in LaTeX. An optional parameter controls the position of the float.
Posted in: Figure & table, LaTeX, Tips & tricks Tagged: caption, figure, graphicx, hline, label, LaTeX, table, tabular. Therefore, LaTeX will place the figure only on the second page, rather than at the beginning of the document. The two typical floating objects in LaTeX are tables and figures; several LaTeX packages define other floating objects. The float package provides a way to force the placement of a floating object in a specific location. The figure environment takes care of the numbering and positioning of the image within the document.