插入表格示例:
代码语言:javascript复制begin{table}[htbp]
centering
begin{tabular}{|c|l|l|c|l|l|l|l|l|l|l|l|}
hline
multicolumn{3}{|c|}{Symbols} & multicolumn{9}{c|}{Definition} \ hline
multicolumn{3}{|c|}{(x,y)} & multicolumn{9}{c|}{Player position coordinates} \ hline
multicolumn{3}{|c|}{N} & multicolumn{9}{c|}{Total passes} \ hline
multicolumn{3}{|c|}{$D_{ij}$} & multicolumn{9}{c|}{Pass times of two players in the network} \ hline
multicolumn{3}{|c|}{$d_{ij}$} & multicolumn{9}{c|}{The average number of passes of two players in the network} \ hline
end{tabular}
end{table}
有的时候,表格会换行错位,有一种方法是在后面加【htbp】 不过经过实测,有时候也不太灵
比较有效的方法是 调入宏包usepackage{graphicx} 把【htbp】改成【H】即可
当然表格的输入推荐一个网址 https://www.tablesgenerator.com/ 可以将可视化的表格转换成latex语言,真方便~