我该如何解决longtable
表格溢出到右侧的问题?对于table
表格,我使用\scalebox{0.9}
命令进行缩放,但是scalebox
命令在longtable
表格中似乎无效。
\begin{longtable}{cccccccccc}
\caption{This is a caption}\\
TABLE TABLE TABLE
\end{longtable}
我的表格有十列,因此两侧的边距不均匀。请问有人知道如何将表格居中,使左右边距相等吗?
找出哪些列给你带来了最大的问题,然后将 \begin{longtable}{cccccccccc}
更改为 \begin{longtable}{>{\raggedright}p{width-of-column}ccccccccc}
>{\raggedright}
告诉 LaTeX 使单元格内容呈现不对齐的右边缘而不是左右两端对齐
而且
p{width-of-column}
允许您指定列的宽度。
\begin{longtable}[c]{|l|l|l|l|l|}
吗? - user2535338
\begin{minipage}{<desired width>}
...\end{minipage}
中吗? - zwol