tabular (LaTeX environment)
Positioning images and tables. Tables can also be put on their side within a document using the rotating or the rotfloat package. That concludes all the fundamentals of floats. You may feel that it is a bit long winded, but such distinctions are necessary, because you may not want all tables to be treated as a float. Floats are not part of the normal stream of text, but separate entities, positioned in a part of the page to themselves top, middle, bottom, left, right, or wherever the designer specifies. Sometimes you need to divide up a figure over multiple floats, for instance because the figure is too big to fit on one page.
LaTeX/Floats, Figures and Captions - Wikibooks, open books for an open world
This ensures that the rule weight and spacing are acceptable. See here for the table placement. The flafter package can be used to force floats to appear after they are defined, and the endfloat  package can be used to place all floats at the end of a document. You have to write the following once at the beginning of the document:. Because of this the text written below the table in TeX file ends up showing on the previous page.
Description: Contents [ show ]. Anyway, we will look at the package wrapfig. The tabular environment is the default L a T e X method to create tables. Therefore, for tables you wish to float, wrap the tabular environment within a table environment, like this:. I ended up setting the table.