Graphics, Figures & TablesFigures and Tables in Books

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
omara007
Posts: 2
Joined: Mon Mar 16, 2009 7:00 am

Figures and Tables in Books

Post by omara007 »

Hi folks

I'm new to LaTeX and I am trying to use it to write my Masters Thesis ..
I have noticed in most of my reference books that the figures and tables are always located either at the top of the page or at the bottom .. there always no figures in the middle of the page. I really liked that and I want to organize my thesis like this .. so, how can I do that for all my figures and tables ?

Regards
Mohammad Y. Omara

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Figures and Tables in Books

Post by localghost »

I know that there is the possibility to reset the default behaviour of floats like you want. But I don't remember it at the moment. For the present you can start with giving every float a certain list of parameters for positioning.

Code: Select all

\begin{figure}[!tb]
  % Contents of the figure
\end{figure}
The same is true for the table environment.


Best regards and welcome to the board
Thorsten¹
omara007
Posts: 2
Joined: Mon Mar 16, 2009 7:00 am

Re: Figures and Tables in Books

Post by omara007 »

Thanks localghost ..
Yet, I'm a newbie in LaTeX and I would appreciate if you can explain to me what did you mean by (float) ??
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Figures and Tables in Books

Post by localghost »

omara007 wrote:[...]Yes, I'm a newbie in LaTeX and I would appreciate if you can explain to me what did you mean by (float) ??
A float environment is an environment - like its name says - which floats through the document. For example, there will be no page break in a table typeset with the tabular environment. In the case there is not enough space on the remaining page, the table - when put in a table environment - will float and appear later in dependency of the placement parameters given to it. For some hints please refer to our compilation of useful resources [1]. There you will find some introductory documents. In case of further upcoming questions, feel free to ask.

[1] LaTeX Resources for Beginners
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Figures and Tables in Books

Post by phi »

omara007 wrote:I'm new to LaTeX and I am trying to use it to write my Masters Thesis ..
I have noticed in most of my reference books that the figures and tables are always located either at the top of the page or at the bottom .. there always no figures in the middle of the page. I really liked that and I want to organize my thesis like this .. so, how can I do that for all my figures and tables ?
This is the default behavior of LaTeX's floating environments, so you just have to put the figures and tables inside the corresponding environments (figure and table). There are a few parameters to tweak the placement algorithm, but generally you should start writing your text and do the fine-tuning afterwards.
Post Reply