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
-3: To create a table in landscape mode, rotating package is included with \usepackage{rotating} command. Then, the table is produced using \begin{sidewaystable}, and \end{sidewaystable}. The table given in Table 1.3 can be created in landscape mode as given below, and the screen capture of it is shown in Table 1.4.
One can compactify tables by reducing \setlength\tabcolsep{1pt} and setting \arraystretch to a small value, and so on.
You can also use r to align the text to the right and l for left alignment. This will insert a horizontal line on top of the table and at the bottom too. There is no restriction on the number of times you can use \hline . Each & is a cell separator and the double-backslash \\ sets the end of this row.
See the longtable
environment:
\begin{landscape}
\begin{longtable}{|c|c|c|c|c|}
...
\end{longtable}
\end{landscape}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With