宏包 makecell 应用(三)

 

宏包 makecell 应用(三)

知识点:

① \setcellgapes [<t or b>]{<value>}
作用:
 try to emulate one of possibilities of tabls package: to get necessary vertical spacing around cells. 仿真tabls宏包,在表格所有单元中产生单元格上下边线之间的垂直间隙。

② \makegapedcells
作用:使能 \setcellgapes [<t or b>]{<value>}。
使用:要用在table环境中。若用到table环境外,则对位于后面所有表格均起作用,但对位于其前面的表格不起作用;若在table环境中加上\nomakegapedcells,则会取消前面\makegapedcells对该表格的影响。

 \begin{table}[htbp]
 \makegapedcells
 …
 \end{table}
③ \nomakegapedcells
 作用:与\makegapedcells相反,取消使能作用。
 
③ 不能更改单元格中文字行距,即下列指令与 \makegapedcells不兼容。
%\renewcommand\cellset{\renewcommand\arraystretch{1}
%\setlength\extrarowheight{0pt}}

④ 比较
\setcellgapes[t]{8pt}:适用于表格中所有单元格。
\renewcommand\cellgape{\Gape[15pt][0pt]},只适用于\makecell{}的单元格。
\renewc

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值