I have to create a table with several columns. I couldn't create it as a single table because number of columns will not fit into a single page. So I split the table by showing some columns first and the rest later.
Here you can see the same table named differently, according to the split (table 3 and 4). Is there a way to give the same table name for the each split (only as table 3)?
Here is my code:
\begin{table}[p]
\caption{Summary results}
\begin{center}
\begin{tabular}{lllllllllllcp{2.5in}} \hline
& \multicolumn{5}{c}{\textbf{t 1}} &
\multicolumn{5}{c}{\textbf{t 2}} \\
& \textbf{Overall} & \textbf{a} &
\textbf{a}& \textbf{b} &
\textbf{b}& \textbf{Overall} & \textbf{a} &
\textbf{a} & \textbf{b} &
\textbf{b} \\\hline
\textbf{Predictor} & & \textbf{1} &
\textbf{0} & \textbf{1} &
\textbf{0}& \textbf{Overall} & \textbf{1} &
\textbf{0} & \textbf{1} &
\textbf{0} \\\hline
A scale & 0.14 & 0.16 & 0.14 & & & 0.14 & 0.16 & 0.14 \\
D scale & 0.22 & 0.28 & 0.27 & & & 0.25 & 0.28 & 0.27\\
\end{tabular}
\end{center}
\end{table}
\begin{table}[p]
\caption{Summary results.}
\begin{center}
\begin{tabular}{lllllllllllcp{2.5in}} \hline
& \multicolumn{5}{c}{\textbf{t 3}} &
\multicolumn{5}{c}{\textbf{t 4}} \\
& \textbf{Overall} & \textbf{a} &
\textbf{a}& \textbf{b} &
\textbf{b}& \textbf{Overall} & \textbf{a} &
\textbf{a} & \textbf{b} &
\textbf{b} \\\hline
\textbf{Predictor} & & \textbf{1} &
\textbf{0} & \textbf{1} &
\textbf{0}& \textbf{Overall} & \textbf{1} &
\textbf{0} & \textbf{1} &
\textbf{0} \\\hline
A scale & 0.14 & 0.16 & 0.14 & & & 0.14 & 0.16 & 0.14 \\
D scale & 0.22 & 0.28 & 0.27 & & & 0.25 & 0.28 & 0.27\\
\end{tabular}
\end{center}
\end{table}
Thank you in advance!!
\centering
directives, not\begin{center} ... \end{center}
infigure
andtable
floats.tabular
envrionments are too large to fit on a single page. Hence, encasing them both in a singletable
directive may not be the way to go.longtable
environment instead of twotabular
/table
combinations?