lscape and supertabular in Latex
- by Tim
Hi,
I would like to put pictures into a supertabular table within lscape enviroment. The code is:
\newcounter{themenumber}
\newcounter{classnumber}
\newcounter{imagenumber}
\tablefirsthead{
\hline
\backslashbox{Concept}{Class} &\multicolumn{3}{|c|}{Class 0} & \multicolumn{3}{|c|}{Class 1} \\ %\textbf{A} & \textbf{B}\\
\hline}
\tablehead{
\hline
\multicolumn{7}{|l|}{\small\sl continued from previous page}\\
\hline
\backslashbox{Concept}{Class} &\multicolumn{3}{|c|}{Class 0} & \multicolumn{3}{|c|}{Class 1} \\ %\textbf{A} & \textbf{B}\\
\hline}
\tabletail{
%\hline
\multicolumn{7}{|l|}{\small\sl continued on next page}\\
\hline}
\tablelasttail{} %\tablelasttail{\hline}
\begin{landscape}
\begin{supertabular}{| c || c | c | c || c | c | c |}
\topcaption{Examples of All the Concepts. \label{tab:conceptsimgs}}
\forloop{themenumber}{1}{\value{themenumber} < 24}{
\arabic{themenumber}
\forloop{classnumber}{0}{\value{classnumber} < 2}{
\forloop{imagenumber}{1}{\value{imagenumber} < 4}{
& \includegraphics[scale=0.5]{../\arabic{themenumber}/\arabic{classnumber}_\arabic{imagenumber}.eps}
}
}
\\
\hline
}
\end{supertabular}
\end{landscape}
However there is something wrong with the result: no caption is shown, the height of the part of table in each page exceeds the page height and there is something extra unwanted at the last page. See images below:
page1 page2 page3 page4
How to fix the problems? Thanks and regards!