table landscape

# LaTeX table landscape

StartLaTeX faqLaTeX topicsLaTeX course
< line break table cell     > change height of a row/cell

## table landscape

How to get an extra wide table on the paper?

### Problem

Some tables could become very wide, sometimes even wider as the paper width. One solution could be taken the whole tabular in a small environment. But there is a better way.

### Solution

An esay way is to change the orientation of the table, by using usepackage lscape, which allows to change the orientation of the page and therefor also the table.

### Example

\documentclass{article}
\usepackage{lscape}
\begin{document}

% An extra wide table
\begin{landscape}
After this point, everthing is displayed in landscape format.\\
\ \\
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|}
\hline
Year & 2000 & 2001 & 2002 & 2003 & 2004 & 2005 & 2006 & 2007 & 2008 & 2009 & 2010 \\
\hline
GPD in billions & 235  &  225 bn & 223 bn & 323 & 423  & 523 & 624 & 725 & 826  & 924  & 1022  \\
\hline
\end{tabular}
\end{landscape}
After this point, everthing is displayed in portrait format.\\

\end{document}

Output:

### Hint

After \begin{landscape} and after \end{landscape} is an automatic page break.

Contact