[laTex]图表总结!——记太感动的一次

1、基础图表

    \begin{table}[h]    % h表示显示在当前位置,可以是t顶部, b底部,p浮动页
    	\centering      % 居中显示
    	\caption{Notations}\label{tab-notations}    %显示题注,并引用\label
        \begin{tabular}{|c|c|}                      
    		\hline
    		Symbols & Explanations\\
    		\hline
    		X & Characters (x1, x2, …, x|t|)\\
    		\hline
    		T & Tag set (t1, t2, t|T|)\\
    		\hline
    		CE & Character embedding\\
    		\hline
    		CPE & Character Part-of-Speech embedding\\
    		\hline
    		PNE & People name embedding \\
    		\hline
    		CTE & Character Part-of-Speech People name embedding\\
    		\hline
    	\end{tabular}
    \end{table}

2、特殊的表格需要多看看其他的表格和对应代码之间联系,弄清楚每个命令的作用是什么,然后就可以写自己了。说到这里,不得不说的有点想哭了,看到最后就知道为什么了。

不过加油!加油!!!

感谢下面两个例子:

\begin{tabular}{ |l|l| }
  \hline
  \multicolumn{2}{|c|}{Team sheet} \\
  \hline
  GK & Paul Robinson \\
  LB & Lucas Radebe \\
  DC & Michael Duberry \\
  DC & Dominic Matteo \\
  RB & Dider Domi \\
  MC & David Batty \\
  MC & Eirik Bakke \\
  MC & Jody Morris \\
  FW & Jamie McMaster \\
  ST & Alan Smith \\
  ST & Mark Viduka \\
  \hline
\end{tabular}

...
\usepackage{multirow}
...
 
\begin{tabular}{cc|c|c|c|c|l}
	\cline{3-6}
	& & \multicolumn{4}{ c| }{Primes} \\ \cline{3-6}
	& & 2 & 3 & 5 & 7 \\ \cline{1-6}
	\multicolumn{1}{ |c  }{\multirow{2}{*}{Powers} } &
	\multicolumn{1}{ |c| }{504} & 3 & 2 & 0 & 1 &     \\ \cline{2-6}
	\multicolumn{1}{ |c  }{}                        &
	\multicolumn{1}{ |c| }{540} & 2 & 3 & 1 & 0 &     \\ \cline{1-6}
	\multicolumn{1}{ |c  }{\multirow{2}{*}{Powers} } &
	\multicolumn{1}{ |c| }{gcd} & 2 & 2 & 0 & 0 & min \\ \cline{2-6}
	\multicolumn{1}{ |c  }{}                        &
	\multicolumn{1}{ |c| }{lcm} & 3 & 3 & 1 & 1 & max \\ \cline{1-6}
\end{tabular}

 

最后自己写出来这个了。 哈哈哈,其实有很多办法更快的学习,但是我也的确体会到了小白画出这个表格的欢快了!很感动,加油!最后看着,想想也简单的

   \begin{table}
	\centering
	\caption{Performance of different model.}    	    
	\begin{tabular}{|cc|c|c|c|c|c|c|c|}
		\cline{1-9}
		\multicolumn{3}{ |c|}{Group 1} & \multicolumn{2}{ c|}{Group 2}  & \multicolumn{2}{ c|}{Group 3} & \multicolumn{2}{ c|}{Group 4} \\ \cline{1-9}
		
		& \multicolumn{1}{|c }{Model} & \multicolumn{1}{|c }{F1/\%} & \multicolumn{1}{|c }{Model} & \multicolumn{1}{|c }{F1/\%} &\multicolumn{1}{|c }{Model} & \multicolumn{1}{|c }{F1/\%} & \multicolumn{1}{|c }{Model} &\multicolumn{1}{|c| }{F1/\%} \\ \cline{1-9}
		
		\multicolumn{1}{ |c }{\multirow{3}{*}{hah}} & 
		\multicolumn{1}{ |c| }{a} & a & a & 7a& a & a & a &	a \\ \cline{2-9} 
		\multicolumn{1}{ |c  }{}                        &
		\multicolumn{1}{ |c| }{a} & a & Ca & a & a & a & a &	a \\ \cline{2-9}
		\multicolumn{1}{ |c  }{}                        &
		\multicolumn{1}{ |c| }{a} & 7a & a & 7a & a & a & Ca &	a \\ \cline{1-9}
		
		\multicolumn{1}{ |c }{\multirow{2}{*}{a}} &
		\multicolumn{1}{ |c| }{a} & a & a & a & a & a & a & a \\ \cline{2-9}
		\multicolumn{1}{ |c  }{}                        &
		\multicolumn{1}{ |c| }{a} &	8a &	aT & a 1 & BaT & a & a & 80.42 \\ \cline{1-9}
	\end{tabular}
\end{table}

最后附上不错的Letex表格总结,可以自己去看看!

https://blog.csdn.net/a493823882/article/details/79271166

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值