1、对于这种长表格在WORD里面我们可以应付的来,但是在LaTeX中就没有那么容易了,如果不换行的话,就会出现表格显示不完全。
2、现在打开WinEdt7.0
3、输入以下代码:\newcommand{\tabincell}[2]{\begin{tabular}{@{}#1@{}}#2\end{tabular}} %表格自动换行\begin{table}[htbp]\centering\caption{\label{tab:test}FEATURES USED IN EXPERIMENT}\begin{tabular}{|c|c|c|} \hline\tabincell{c}{Number \\ of \\ features} & Description of each feature \\ \hline9 & \tabincell{c}{Magnitude of second, fourth,and sixth components of \\FFT of 3 axes} \\\hline12 & Mean, standard deviation, energy, correlation of 3 axes \\\hline21 & \tabincell{c}{Magnitude of second, fourth,and sixth components of FFT,\\ Mean,standard deviation, energy,correlation of 3 axes} \\\hline27 & \tabincell{c}{Magnitude of second, fourth,and sixth components of FFT,\\ Mean, standard deviation, energy,correlation, time between\\ peaks, number of peaks per computation unit of 3 axes} \\ \hline\end{tabular}\end{table}
4、这就是生成出来的示意图,通过更改代码的显示方式,还可以改为三线表格