加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

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

(2018-01-17 13:57:56)
分类: soft-latex-xelatex

根据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}
示例为:
http://s12/middle/5e16f17749511f5eeb8bb&690
另外,这个宏包还提供了一组命令,可使表格中列数据单独定位:居中、靠左或靠右,可将某一列标题旋转90度,可在单元格中划对角线,还可设定表格线段的粗细等。
参看:
http://www.ctan.org/tex-archive/macros/latex/contrib/makecell/makecell.pdf

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有