宏包 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