# Lots of tables, no go [closed]

I have a file with +30 tables that I would really like LaTex to parse but of course it gets all floaty and can't decide where to place them and so goes belly up. Any suggestions on on how to get this done?

-

## closed as too broad by Werner, Peter Jansson, percusse, Jubobs, SperavirMar 13 '14 at 21:46

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Christian Hupfer Mar 13 '14 at 20:38
There isn't an "of course" if the floats are not being positioned, either the markup isn't ideal, or they shouldn't be floats at all, but no one can can say what's wrong of you give no hints what you did. Do you use \begin{table}[h] for example? That's a common cause of the effect you describe. – David Carlisle Mar 13 '14 at 20:57
Lots of people here could help but really you don't seem to be wanting help, just wanting to let off steam, which is Ok if that's what you need to do. \include won't fail unless you misuse it but we can't guess how that is, but actually you don't want \include unless you want each table on a separate page, you want \input (bt that's same as putting all the tables in one file. – David Carlisle Mar 13 '14 at 21:18
"didn't work" is not a useful description if you want help, but anyway if you have a long series of tables with no intervening text you should do as in my answer. – David Carlisle Mar 13 '14 at 21:38
If \include is failing, you can make an MWE with just one table, can't you? That should be straightforward. Also omit the ./ at the beginning. They're in the same directory anyway. – cfr Mar 13 '14 at 21:40

This document has 144 tables without problems.

\documentclass{article}
\usepackage{capt-of}
\begin{document}

\centering
\section{foo}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\section{foo}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\section{foo}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\section{foo}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\section{foo}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\section{foo}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\section{foo}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\section{foo}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}
\captionof{table}{hmmm}\begin{tabular}{ll}a\\b\\c\\d\end{tabular}

\end{document}

-
It's safer to use \captionof inside some containing environment (center or minipage, for example); otherwise (if real contents is in between), strange things can happen :) – Gonzalo Medina Mar 13 '14 at 23:19
@GonzaloMedina well a minipage would prevent a page break between the caption and the table which is probably a good idea, I can't see how center would make any difference other than adding vertical space? – David Carlisle Mar 13 '14 at 23:22