6

The title is pretty much the extent of my question. I am trying to insert a large table into a document using the xtabular environment. If I wrap the xtabular environment in a landscape environment, then the bottom of my table gets chopped off. Does anyone have any better suggestions? Thanks


\begin{landscape}
\singlespace
\begin{xtabular}{|c|c|c|c|c|}
    \hline
      some & stuff & ... & \\
\end{xtabular}
\end{landscape}

Tim

Tim
  • 361
  • 1
  • 5
  • 14

1 Answers1

7

See the longtable environment:

\begin{landscape}
  \begin{longtable}{|c|c|c|c|c|}
    ...
  \end{longtable}
\end{landscape}
Etaoin
  • 8,444
  • 2
  • 28
  • 44
  • nice. I had to do this today, and I used this approach exactly. you can insert a \caption{} and \labe{} BEFORE the \end{longtable} if you need them. – D.C. Apr 27 '10 at 06:15
  • Ubuntu 9.10/texlive seems to be choking on landscape--any thoughts on where to find that? A cursory Google seems to suggest that it's out of date, but lscape isn't working, either. – aresnick May 24 '10 at 21:53
  • If your longtable accompanies section or chapter titles, then these will be rotated too (if inside the landscape environment) or be left alone in a preceding blank page (if outside, landscape call clearpage). See here for a solution with rotatebox: https://tex.stackexchange.com/a/452723/105075 – catastrophic-failure Feb 11 '21 at 12:13