概述
目前遇到两种方式
- toprule midrule bottomrule
usepackage{booktabs}
begin{table*}[htb]
caption{Table caption} label{t1}
begin{tabular}{ll d{1.3} d{1.3} d{1.3} d{1.3} d{1.3} d{1.3}}
toprule
Dataset&Models&multicolumn{1}{l}{$alpha_1$}&
multicolumn{1}{l}{$alpha_2$}&
multicolumn{1}{l}{$alpha_3$}&
multicolumn{1}{l}{$alpha_4$}&
multicolumn{1}{l}{$alpha_5$}&
multicolumn{1}{l}{$alpha_6$}
midrule
CSDS&Linear &0.164&0.22&0.123&0.3&0.200&0.258
& Logistic &0.189&0.155&0.157&0.201&0.154&0.144[6pt]
KCDS&Linear &0.155&0.183&0.160&0.218&0.176&0.156
& Logistic &0.187&0.125&0.151&0.184&0.187&0.125
bottomrule
end{tabular}
end{table*}
- hline
usepackage{longtable}
begin{table*}[htb]
caption{Table caption} label{t1}
begin{tabular}{ll d{1.3} d{1.3} d{1.3} d{1.3} d{1.3} d{1.3}}
hline
Dataset&Models&multicolumn{1}{l}{$alpha_1$}&
multicolumn{1}{l}{$alpha_2$}&
multicolumn{1}{l}{$alpha_3$}&
multicolumn{1}{l}{$alpha_4$}&
multicolumn{1}{l}{$alpha_5$}&
multicolumn{1}{l}{$alpha_6$}
hline
CSDS&Linear &0.164&0.22&0.123&0.3&0.200&0.258
& Logistic &0.189&0.155&0.157&0.201&0.154&0.144[6pt]
KCDS&Linear &0.155&0.183&0.160&0.218&0.176&0.156
& Logistic &0.187&0.125&0.151&0.184&0.187&0.125
hline
end{tabular}
end{table*}
两种方式结果都如下:
最后
以上就是体贴猫咪为你收集整理的Latex三线表绘制横线的全部内容,希望文章能够帮你解决Latex三线表绘制横线所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复