[Tex/LaTex] Help formatting longtable for landscape oriented table

landscapelongtable

I am having trouble setting up the code using longtable for a table that will span multiple pages and be presented in landscape format.

It will not show the "continued on next page" tag or "Continued from Table #" at the top of the new page.

I have tried to copy the code presented in this link (http://texblog.org/2011/05/15/multi-page-tables-using-longtable/) but applied to my own application but the output is not working, maybe due to it being in landscape? Also my margins need to be specific (ie. thesis document) and the output looks like it's pushing those boundaries even though I do have them formatted. Any suggestions are greatly appreciated.

I would have included some sample code, but it is a big table (14 columns and 53 entries, with several multi-rows thrown in) But if anyone needs the code to look at, I would be more than willing to send it along. 🙂

Best Answer

Use:

\documentclass{article}
\usepackage{pdflscape}
\usepackage{longtable}
\begin{document}
\begin{landscape}
\begin{longtable}{...}
\caption{my longtable caption}\\
...
\end{longtable}
\end{landscape}
...
\end{document}

The environment landscape will start a new page!

Related Question