8 和注释之间的垂直线将不会完全连接顶部。
\begin{table}[H]
\centering
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|}
\hline
\multirow{2}{*}{No.} & \multirow{2}{*}{Date} & \multicolumn{8}{c}{Performed Test} & \multirow{2}{*}{Comment}\\
& & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & \\\specialrule{.2em}{.1em}{.1em}
\end{tabular}
\caption{Chronology of Performed Tests.}
\label{Tests}
\end{table}
答案1
\aboverulesep
这是由于中的非零值\specialrule
。使用此代码(我简化了表格的序言)将其设置为 0:
\begin{table}[H]
\centering
\begin{tabular}{|*{11}{c|}}
\hline
\multirow{2}{*}{No.} & \multirow{2}{*}{Date} & \multicolumn{8}{c}{Performed Test} & \multirow{2}{*}{Comment}\\
& & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & \\\specialrule{0.2em}{0em}{.1em}
\end{tabular}
\caption{Chronology of Performed Tests.}
\label{Tests}
\end{table}