latex表格制作

2024-10-12 11:07:15

1、使用multirow之前,一定要在添加宏包的区域添加上宏包,否则是无法运行的!\usepackage{multirow}

latex表格制作

3、\begin{tabular}{c c c c c c c c }\hline\multirow{2}{1cm}{$\beta$}\multirow{2}{1cm}{n}&~&a&~&~&b&~&\\\cline{2-8}&1&2&3&4&5&6&\\ \hline % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ... \multirow{4}{2cm} {1.1} &1&2&3&4&5&6\\ &1&2&3&4&5&6\\ &1&2&3&4&5&6\\ &1&2&3&4&5&6\\ \hline % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ... \multirow{4}{2cm} {1.5} &1&2&3&4&5&6\\ &1&2&3&4&5&6\\ &1&2&3&4&5&6\\ &1&2&3&4&5&6\\ \hline % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ... \multirow{4}{2cm} {1.9} &1&2&3&4&5&6\\ &1&2&3&4&5&6\\ &1&2&3&4&5&6\\ &1&2&3&4&5&6\\ \hline\end{tabular}

latex表格制作
猜你喜欢