我用的是长桌。对于下面的MWE,如何使第三条垂直线和第二条水平线比其他线更厚?
\documentclass[12pt, twoside]{article}
\usepackage{longtable}
\begin{document}
\begin{longtable}[c]{|l|c|c|c|}
\hline
& Col 2 & Col 3 & Col 4 \\ \hline
\endfirsthead
Row 2 & a & b & c \\ \hline
Row 3 & x & y & z \\ \hline
\end{longtable}
\end{document}发布于 2022-06-06 11:44:26
与longtable不同,我建议使用tabularray包:
\documentclass[12pt, twoside]{article}
\usepackage{tabularray}
\begin{document}
\begin{longtblr}{
colspec={|l|c|[3pt]c|c|}
}
\hline
& Col 2 & Col 3 & Col 4 \\ \hline[3pt]
Row 2 & a & b & c \\ \hline
Row 3 & x & y & z \\ \hline
\end{longtblr}
\end{document}

(有关如何使用tabularray处理长表的详细信息,请参阅包文档的第4章)
https://stackoverflow.com/questions/72511705
复制相似问题