# [texhax] subtables within a table on different pages

Nina Mazumdar nina.mazumdar at gmail.com
Tue Jun 17 06:10:46 CEST 2008

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.

A quick and dirty solution would be:

\renewcommand\thetable{\arabic{table}a}

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

\clearpage
\renewcommand\thetable{\arabic{table}b}

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

\clearpage
\renewcommand\thetable{\arabic{table}c}

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

\clearpage
\renewcommand\thetable{\arabic{table}d}

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

\renecommand\thetable{\arabic{table}}

Happy TeXing and best regards

--
Nina