# sideway or landscape table over multiple pages in LaTeX

Most of my results table are huge. To get them situated in a document, the sidewaystable environment from the rotating is helpful in getting a wide table to fit on one page. To get a long table to span multiple pages (regular orientation), one can utilize the longtable environment; see this example.

What if both solutions don’t work? That is, you have a wide and long table that needs to inserted in landscape mode and have the table span multiple pages? This post shows one how to do so by utilizing the landscape environment from the lscape package with longtable. It looks something like:

 <pre class="example">\begin{landscape}


\begin{longtable}{|c|c|c|c|c|} … \end{longtable} \end{landscape}

This was just what I needed.