[texhax] Positioning of tables
Lars Madsen
daleif at imf.au.dk
Wed May 28 19:24:56 CEST 2008
Afshartous, David wrote:
>
> All,
>
> I have a latex paper with several sections within an appendix.
> The first section is a series of tables, each started as follows:
>
> \begin{table}[h]
> \begin{tabular}
>
> The next section is some computer code, started as follows:
>
> \newpage
> \section{Computer Code}
>
>
> Unfortunately, when I compile the document, the computer code gets mixed in
> with the tables, i.e., some of the tables appear after the computer code.
> I've also tried to insert the [h] with \begin{tabular}[h], but this doesn't
> seem to help either.
>
> Any suggestions much appreciated.
>
>
> David
>
remember that [h] does NOT mean instert here, it means try to insert it
here, and if your figure or table is very big just specifying [h] is
even worse.
I recommend always using [htbp]
but to solce your problem, simply use
\clearpage instead of \newpage
/daleif
More information about the texhax
mailing list