繁体   English   中英

乳胶重叠表与页面的第二列

[英]Table in Latex Overlapping with Second Column of the Page

我在LaTeX中遇到了表格问题。 我正在使用会议中的预定义格式,这使得页面由两列组成。 我的表格太宽,无法包含在一列中,因此它会转到页面的第二列并与文本重叠!

  1. 为什么LaTeX允许这样做?
  2. 是否有可能以当前格式使表成为块,以便它使用两列,而另一列中的文本拖了一下?
  3. 还有其他建议吗?

这是我的代码:

\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}

预先感谢您的帮助。

问候,
Rafid

通常,浮动环境的星号版本用于告诉LaTeX跨越两列。 所以,像:

\begin{table*}
% Table contents
\end{table*}

数字也可以这样做。

代替tabular ,使用tabularx ,例如:

\begin{tabularx}{\textwidth}{|c|c|c|c|c|X|}

对不起,@ Rafid,我通常使用包含它的memoir ,所以我忘记了这一点:

\usepackage{tabularx}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM