[texhax] subtables within a table on different pages

Nina Mazumdar nina.mazumdar at gmail.com
Tue Jun 17 06:21:07 CEST 2008

<nina.mazumdar at gmail.com> wrote:
> On Tue, Jun 17, 2008 at 3:54 AM, Tim McKenzie <tjm1983 at gmail.com> wrote:
>> 2008/6/17 Arvind Marathe <bahuroopi at gmail.com>:
>>> They are 4 separate tables, but i want them to be numbered as say
>>> table(1a), table(1b), table(1c), table(1d). So i want each of them as
>>> a subtable in table 1. The subtable package does this, but it tries to
>>> squeeze all 4 subtables into a single page. \pagebreak does not work
>>> within a table. Nor do i see any option to have \subtable and/or
>>> \pagebreak within a \longtable.
>>
>> Personally, I've never used them, but it looks like either sublabel or
>> subfloat could be a useful package for you. On my TeXLive 2007
>> installation, sublabel seems to have more documentation.

If you modify the quick and dirty solution in my previous post to the
following, it will be much more elegant:

\usepackage{subfloat}

\begin{subtables}

\begin{table}
\caption{Whatever}
\begin{tabular}{lcr}
...
\end{tabular}
\end{table}

\clearpage

\begin{table}
\caption{Whatever}
\begin{tabular}{lcr}
...
\end{tabular}
\end{table}

\clearpage

\begin{table}
\caption{Whatever}
\begin{tabular}{lcr}
...
\end{tabular}
\end{table}

\clearpage

\begin{table}
\caption{Whatever}
\begin{tabular}{lcr}
...
\end{tabular}
\end{table}

\end{subtables}

This might be what you are looking for.

Happy TeXing and best regards

--
Nina