# Table issues…

I am writing to those who are facing the issues on displaying long table in latex. The default table environment in LaTeX does not work well if the data to be displayed in your table spans more than one page — the text cuts off and may flow outside of the normal page margins. The solution to this is to use the longtable package, which allows tables to take up multiple pages, and enables table row headings that span page breaks.

Declare the use of this package \usepackage{longtable} in the preamble, which should be installed already in your LaTeX setup. The skeleton of a long table looks like this:

\setlongtables % keeps the width uniform across both pages
\begin{longtable}{|c|c|c|c|}
\caption{Spurred species and their pollinators}\\
\hline
Flower species & Pollinator species & Family & Functional Group \\

\hline
Flower species & Pollinator species & Family & Functional Group \\
\hline \hline
{\it Aquilegia canadensis} & {\it Trochilus} & Trochil. & Bird \\

{ ….