如何在乳胶表中连续组合单元格? [英] How can I combine cells in a row in a latex-table?
本文介绍了如何在乳胶表中连续组合单元格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在一个表中,我想组合一些列,但不是所有行.如何使用 LaTeX 实现这一点?
In a table I want to combine some of the columns, but not in all rows. How can I realize this with LaTeX?
推荐答案
multicolumn{<number>}{<formatting>}{<contents>}
参数在哪里
- 要合并的列数
- 对齐和格式化字符串(就像您在表头中使用的那样,即
|c|
"等) - 要放入合并列的内容
此命令只是替换 <number>
列并内联使用.
This command simply replaces the <number>
columns and is used inline.
补充:这也是您在表格的一行中更改单个字段格式的方法.只需使用 multicolumn{1}{<new format>}{<contents>}
.
Addition: This is also how you change the formatting of a single field in only one row of the table. Just use multicolumn{1}{<new format>}{<contents>}
.
这篇关于如何在乳胶表中连续组合单元格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文