大家好,我在乳胶中处理表格时遇到了一点问题。我想删除附图中黄色圆圈位置的虚线。我使用以下代码。请尝试解决我的问题...谢谢...
{\begin{tabular}{lcc|cc|c} \toprule
& \multicolumn{1}{l}{Foreign = 119} && {Local =113} && | \\ \cmidrule{2-6}
& Mean & SD & Mean & SD & p\\ \midrule
Total journal articles and scholarly written works & 16.3898 & 9.34069 & 16.4956 & 8.73327 & .929\\
Beta & B2 & B2 & B3 & B4 & B5\\
Gamma & C2 & C2 & C3 & C4 & C5\\ \bottomrule
\end{tabular}}
答案1
问题在于|
符号。如果没有正确的字体编码,它将变成-
。
\documentclass{article}
\usepackage{booktabs}
\begin{document}
{
\begin{tabular}{lcc|cc|c}
\toprule
& \multicolumn{1}{l}{Foreign = 119} && {Local =113} && \\
\cmidrule{2-6}
& Mean & SD & Mean & SD & p\\
\midrule
Total & 16.3898 & 9.34069 & 16.4956 & 8.73327 & .929\\
Beta & B2 & B2 & B3 & B4 & B5\\
Gamma & C2 & C2 & C3 & C4 & C5\\
\bottomrule
\end{tabular}
}
\end{document}