# Table skipping section?

I have one main section along with 5 subsections. One of the subsections has a table that cannot fit in half a page, and hence needs to be fitted in the next one. However, the table skips all the other subsections !! How can I fix this ?

Here is the pic :

note:(The table should be under subsection 1.4.2)

Code used :

\begin{table}[h]
\centering
\caption{Resources}
\label{resource}
\begin{tabular}{|l |l |p{10cm}| }
.
.
.
\hline
\end{tabular}
\end{table}


Based on Werner recommendations and these two questions:

Table skipping section?

How to influence the position of float environments like figure and table in LaTeX?

I think you can try using:

\documentclass{article}

\usepackage{float}

\begin{document}

\begin{table}{H}
\centering
\caption{Resources}
\label{resource}
\begin{tabular}{|l |l |p{10cm}| }
a & b & c\\
\hline
\end{tabular}
\end{table}

\end{document}

• @NLed H is never the right answer though (which I can say with some certainty as it was my idea and initially my implementation) H just disables the entire latex float mechanism so it isn't a float at all it is a mechanism of last resort (if that). Apr 11, 2013 at 22:46
• @DavidCarlisle What's the alternative ? Nothing is working unless i add the H Apr 11, 2013 at 22:53
• @NLed you didn't answer the question of whether there was any text in the sections (H essentially makes text by making it not a float) If the sections are all empty LaTeX has nowhere to put the float (and so you shouldn't worry about it until the text is written) Apr 11, 2013 at 22:57
• @DavidCarlisle Sorry I'm used to MS WORD and hence expected the flow to be the same. Nope the other sections are empty just as displayed in the picture. So once I fill them in with text it should automatically fix this ? Apr 11, 2013 at 22:58
• @NLed: The flow in LaTeX is very different from that of MS Word, since LaTeX has an engine to compile input into output. While MS Word has a WYSIWYG approach.
– Werner
Apr 11, 2013 at 23:06