这是我目前所写的内容
\begin{table}[h!]
\begin{center}
\caption{}
\label{table:1}
\begin{tabular} {|c|c|c|c|c|}
\hline
& \multicolumn{2}{|c|}{II/446} & \multicolumn{2}{|c|}{II/444}\\
\hline
Threshold Value & Circumscribed & Osculating & Circumscribed &
Osculating \\
of radius & circle & circle & circle & circle \\
\hline
100\% & 65\% & 65\% & 54\% & 56\% \\
\hline
300\% & 73\% & 72\% & 74\% & 76\% \\
\hline
500\% & 74\% & 73\% & 80\% & 80\% \\
\hline
1000\% & 70\% & 78\% & 80\% & 81\% \\
\hline
1500\% & 70\% & 74\% & 78\% & 80\% \\
\hline
2000\% & 72\% & 75\% & 77\% & 78\% \\
\hline
\end{tabular}
\end{center}
\end{table}
答案1
根据猜测,您的表格位于两列文档中,并且比一列宽。因此,它与第二列重叠。
如果你不喜欢表格超过两列(使用figure*
浮动环境),那么你必须让表格变窄。一种方法是使用列标题的缩写:
\documentclass[twocolumn]{article}
\usepackage{array, multirow}
\usepackage{xparse} % for "smart" new commands
\NewExpandableDocumentCommand\mcc{O{c|}m}
{\multicolumn{1}{#1}{#2}}
\usepackage[skip=1ex]{caption}
\usepackage{lipsum} % for dummy text
\begin{document}
\lipsum[1]
\begin{table}[htb]
\caption{}
\label{table:1}
\centering
\renewcommand\arraystretch{1.2}
\begin{tabular}{|c<{\,m}|*{4}{c<{\,\%}|}}
\hline
\mcc[|p{6.6em}|]{%
\multirow{2}{=}{\centering
Threshold Value of radius}}
& \multicolumn{2}{c|}{II/446} & \multicolumn{2}{c|}{II/444}\\
\cline{2-5}
\mcc[|c|]{}
& \mcc{CC} & \mcc{OC} & \mcc{CC} & \mcc{OC} \\
\hline
100 & 65 & 65 & 54 & 56 \\
\hline
300 & 73 & 72 & 74 & 76 \\
\hline
500 & 74 & 73 & 80 & 80 \\
\hline
1000 & 70 & 78 & 80 & 81 \\
\hline
1500 & 70 & 74 & 78 & 80 \\
\hline
2000 & 72 & 75 & 77 & 78 \\
\hline
\multicolumn{5}{@{}l}{CC: Circumscribed circle,\quad
OC: Osculating circle}
\end{tabular}
\end{table}
\lipsum[2-5]
\end{document}
这使:
答案2
我使用以下布局来修复文本溢出
\begin{table}[]
\caption{}
\label{foo-bar}
\resizebox{.5\textwidth}{!}{%
\begin{tabular}{|l|l|l|l|l|}
\hline
& \multicolumn{2}{l|}{II/446} & \multicolumn{2}{l|}{II/444} \\ \hline
\begin{tabular}[c]{@{}l@{}}Threshold value \\ of radius (m)\end{tabular} & \begin{tabular}[c]{@{}l@{}}Circumscribed\\ circle\end{tabular} & \begin{tabular}[c]{@{}l@{}}Osculating\\ circle\end{tabular} & \begin{tabular}[c]{@{}l@{}}Circumscribed\\ circle\end{tabular} & \begin{tabular}[c]{@{}l@{}}Osculating\\ circle\end{tabular} \\ \hline
100\% & 65\% & 65\% & 54\% & 56\% \\
\hline
300\% & 73\% & 72\% & 74\% & 76\% \\
\hline
500\% & 74\% & 73\% & 80\% & 80\% \\
\hline
1000\% & 70\% & 78\% & 80\% & 81\% \\
\hline
1500\% & 70\% & 74\% & 78\% & 80\% \\
\hline
2000\% & 72\% & 75\% & 77\% & 78\% \\
\hline
\end{tabular}%
}
\end{table}