[英]wide and long table in latex
我正在使用一张长而宽的桌子。 我不确定如何将其放入论文中。 由于它很宽,可以选择侧身。 同时,也太长而无法放入一页,因此我想到了长桌。 但是,我不能使一张桌子的横盘和长盘一起工作,例如
\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}
我该怎么办?
在列声明中使用p{width}
代替l,r或c,如下所示:
\begin{longtable}{ | p{0.2\textwidth} | p{0.5\textwidth | }
然后,为使内容居中,请在p{width}
之前添加>{\\centering}
p{width}
,如下所示:
\begin{longtable}{ | >{\centering}p{0.2\textwidth} | >{\centering}p{0.5\textwidth | }
使用带有longtable
或supertabular
lscape
包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.