LaTeX技巧423:LaTeX如何加粗表格横线

根据tabu宏包,更多情况下要定制自己的表格,粗细或宽度或高度,不使用tabular。付费服务,介意勿扰!
https://latex888.taobao.com/
使用makecell宏包来定制表格线,这个包提供了\Xcline
\Xhline来定制表格线如:
\begin{tabular}{!{\vrule width1.2pt}c
!{\vrule width1.2pt}c|c
!{\vrule width1.2pt}}
\Xhline{1.2pt}
\multirowthead{4}{First Column head}&
\multicolumn{2}{c!{\vrule width1.2pt}}{\thead{Multicolumn
head}}\\
\Xcline{2-3}{1.2pt}
& \thead{Second \\multlined \\ column head} &
\thead{Third \\ column head}\\
\Xhline{1.2pt}
Cell text & A &\multirowcell{4}{28--31}\\
\Xhline{1.2pt}
\end{tabular}
示例为:
另外,这个宏包还提供了一组命令,可使表格中列数据单独定位:居中、靠左或靠右,可将某一列标题旋转90度,可在单元格中划对角线,还可设定表格线段的粗细等。
参看:
http://www.ctan.org/tex-archive/macros/latex/contrib/makecell/makecell.pdf