Latex 中的表格与页面的第二列重叠
我在 LaTeX 中的表格方面遇到了问题。我正在使用会议中的预定义格式,这使得页面由两列组成。我的表格太宽,无法包含在一列中,因此它转到页面的第二列并与文本重叠!
- 为什么 LaTeX 允许这样做?
- 在当前格式下,是否可以将表格制作为一个块,以便它使用两列,并将另一列中的文本向下拖动一点?
- 还有其他建议吗?
这是我的代码:
\begin{table}
\centering
\begin{tabular}{|c|c|c|c|c|c|}
\hline
Rule & Factor & Best Value & Delta_t & Delta_{do} & Comments \\
\hline
\multirow{3}{c}{Diagonal Dominance} & Line Angle & 45 & 15 & 30 & The angle between the prominent line of the object and
the diagonal lines \\ % TODO: What object? Make sure it is clear.
& Line Distance & 0 & 0.25 & 1 & The distance, in screen coordinates, from the
prominent line of the object to the diagonal lines. \\ % TODO: Need to define screen coordinates
& Corner Distances & 0 & 0.1 & 0.7 & The distance, in screen coordinates, from the
end of the prominent line of the object to the corners of the screen. \\
\hline
\end{tabular}
\caption{The factors of each rule and their parameters.}
\label{table:factors}
\end{table}
提前感谢您的帮助。
问候,
拉菲德
I got a problem with tables in LaTeX. I am using a pre-defined format from a conference, which makes a page consists of two columns. My table is too wide to be contained in one column, so it goes to the second column of the page and overlaps with text!
- Why is LaTeX allowing this?
- Is it possible in the current format, to make the table a block, so that it uses two columns, and the text in the other column dragged down a bit?
- Any other suggestion?
This is my code:
\begin{table}
\centering
\begin{tabular}{|c|c|c|c|c|c|}
\hline
Rule & Factor & Best Value & Delta_t & Delta_{do} & Comments \\
\hline
\multirow{3}{c}{Diagonal Dominance} & Line Angle & 45 & 15 & 30 & The angle between the prominent line of the object and
the diagonal lines \\ % TODO: What object? Make sure it is clear.
& Line Distance & 0 & 0.25 & 1 & The distance, in screen coordinates, from the
prominent line of the object to the diagonal lines. \\ % TODO: Need to define screen coordinates
& Corner Distances & 0 & 0.1 & 0.7 & The distance, in screen coordinates, from the
end of the prominent line of the object to the corners of the screen. \\
\hline
\end{tabular}
\caption{The factors of each rule and their parameters.}
\label{table:factors}
\end{table}
Thank you in advance for your help.
Regards,
Rafid
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
通常,带星号的浮动环境版本用于告诉 LaTeX 跨越两列。所以,类似这样的事情:
同样可以用数字来完成。
Generally, the starred version of floating environments are used to tell LaTeX to span two columns. So, something like:
The same can be done with figures.
使用
tabularx
代替tabular
,例如:抱歉,@Rafid,我通常使用
memoir
,其中包含它,所以我忘记了这一点少量:In place of
tabular
, usetabularx
, for example:Sorry, @Rafid, I normally use
memoir
, which includes it, so I forgot this bit: