overleaf表格_latex插入表格心得

解释不好,直接上代码,请看图理解

\begin{table}\caption{ Experimental results of eye area ratio in normal state and fatigue state:}

\centering

\renewcommand{\multirowsetup}{\centering}

\begin{tabular}{|c|c|c|c|c|c|c|}%我的表格有七列

\hline%画一条横线

\multirow{2}*{}%合并行

&\multicolumn{2}{c|}{Real Situation}&\multicolumn{4}{c|}{Test Result}\\%合并俩列,并填入内容,合并并四列,并填入内容

\cline{2-7}%从第2到第七列填写表格

&\multirow{2}{1.8cm}{Closed Eyes Number}  &\multirow{2}{1.8cm}{Closed Eyes Ratio}  &\multirow{2}{1.8cm}{Closed Eyes Number} &\multirow{2}{1.5cm}{Accuracy Rate}  & \multirow{2}{1.3cm}{Lose Number}  & \multirow{2}{1.8cm}{Closed Eyes Ratio}  %合并俩行,设置宽度,填入内容

\\&&&&&&\\%写入空白,这个很重要,要不然表格很奇怪,不明所以\hline

video 1 & 6 & 6.0\% & 11 & 93.7\%&5 &11.58\% \\

\cline{1-7}

video 2& 8 & 8.0\% & 20 & 88.0\%& 10&22.22\%\\

\hline

video 3& 13 & 13\% & 7 & 94.0\% &2& 7.1\%\\

\hline

video 4 & 53 & 53\% & 56 & 97.0\% &0&56.0\%\\

\hline

video 5 & 68 & 68\% & 66 & 98.0\%&1 &66.67\%\\

\hline

video 6 & 76 & 76\% & 78 & 98.0\% &0&78.0\%\\

\hline

video 7 & 80 & 80\% & 89 & 91.0\% &0&89.0\%\\

\hline

\end{tabular}

\end{table}

08b1b8eb13c2a79ef479f0298bae1c73.png

  • 1
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值