通过临时设置一个宽度为0pt的rule盒子来撑高tabular表格的行高,如下例:
\begin{tabular}{|c|c|c|c|c|c|}\hline
题号\rule[-0.8ex]{0pt}{3ex}&第一题&第二题&第三题&总分\\\hline
~~\rule[-2ex]{0pt}{5ex}得分&~&~ &~& \\\hline
\end{tabular}
这里的rule用法是
\rule[-Lex]{0pt}{Hex},期中H就是指的行高,L是文本需要下沉的距离。一般可以使用如下公式:
L=(H/2)-1.25。