tags:

views:

444

answers:

2

Hi,

I have a wide and long table. I am not sure how to put it in my thesis. Since it is wide, sidewaystable may be the choice. Meanwhile it is also to long to fit in one page, so longtable comes into my mind. However, I cannot make sideaystable and longtable working together for one table, e.g.

  \begin{sidewaystable}  

  \begin{longtable}{| c ||c| c| c |c| c|| c |c| c|c|c| }  
         \caption{A glance of images.}  
          \centering  

   % table content  

  \end{longtable}  

  \end{sidewaystable} 

What shall I do? Thanks and regards!

+1  A: 

use a p{width} in place of l,r, or c in your column declaration, like this:

\begin{longtable}{ | p{0.2\textwidth} | p{0.5\textwidth | }

Then, to keep your content centered, add a >{\centering} before the p{width}, like this:

 \begin{longtable}{ | >{\centering}p{0.2\textwidth} | >{\centering}p{0.5\textwidth | } 
Mica
+1  A: 

Use lscape package with longtable or supertabular.

AVB