Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我怎样才能修复一个longtable不溢出在右边?与table我一起使用\scalebox{0.9},但scalebox似乎不适用于longtable.
longtable
table
\scalebox{0.9}
scalebox
\begin{longtable}{cccccccccc} \caption{This is a caption}\\ TABLE TABLE TABLE \end{longtable}
我的表有十列,因此两边的边距都不均匀。有谁知道如何使表格居中以使左右边距相等?
找出哪些列给您带来的问题最多,然后更改\begin{longtable}{cccccccccc}为\begin{longtable}{>{\raggedright}p{width-of-column}ccccccccc}
\begin{longtable}{cccccccccc}
\begin{longtable}{>{\raggedright}p{width-of-column}ccccccccc}
将>{\raggedright}告诉乳胶使单元格内容具有参差不齐的右边缘而不是对齐
>{\raggedright}
和
这p{width-of-column}将允许您指定列的宽度。
p{width-of-column}