Geeks With Blogs
Łukasz Kuryło's blog

Yesterday I was looking for an out of the box feature to place one big table on more than one page without the need to cut this table manually. I've found a very easy to use solution with longtable package.

Sample code:

\usepackage{longtable}

\begin{longtable}{|c|c|c|c|c|c|c|c|c|c|}
\caption{some fancy caption}
\label{tab:mylabel}
\tabularnewline
\hline
Iteration & 1 & 2 & 3 & 4 & 5 & 6 \tabularnewline \hline
DataSet & &&&&&\\\hline
Makao & 77,30 & 76,53 & 81,16 & 76,92 & 66,67 & 100 \tabularnewline \hline
& 75,17 & 75,72 & 69,23 & 75 & 100 & \tabularnewline \hline
& 98,30 & 77,27 & 80 & 100 &&\\\hline
& 98,07 & 88 & 66,67 & 100 &&\\\hline
& 98,23 & 100 &&&&\\\hline
& 75,17 & 75,70 & 69,23 & 75 & 100 &\\\hline

% more lines here..
\end{longtable}

If you have used normal tables in latex, you can see there are some differents. E.g. there is no \begin{table} tag and the \begin{tabular} is replaced with \begin{longtable}.

 

Documentation to longtable package is located here

Posted on Friday, June 3, 2011 2:58 PM Latex | Back to top

Related Posts on Geeks With Blogs Matching Categories

Comments on this post: [Latex] Large table on more than one page

Comments are closed.
Comments have been closed on this topic.
Copyright © Łukasz Kuryło | Powered by: GeeksWithBlogs.net