I am using 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 too long to fit in one page, so longtable comes into my mind. However, I cannot make sidewaystable and longtable working together for one table, eg
\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?
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 | }
使用带有longtable
或supertabular
lscape
包。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.