ラテックス組版:テーブルの複数の行と列をマージします



Latex Typesetting Merge Multiple Rows



コマンドを直接使用して複数の列をマージする multicolumn {number of columns} * {contents in merged columns}、複数の行をマージする場合は、マクロパッケージusepackage{multirow}を適用する必要があります。その後、コマンドを直接使用できます multirow {number of rows} * {content in merged rows}

usepackage{amsmath, amssymb} usepackage{makecell} usepackage{multirow} egin{tabular}c hline multirow {2} * {name} & multicolumn {2} c {Results} \ cline{2-3} & Chinese & Math \ hline Wang Xiaoya & 95 & 99 \ hline end{tabular} ! [Insert picture description here] (https://img-blog.csdnimg.cn/20191120111523522.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2F8_F7, `