%多行或多列合并的情况
%(1)多行合并代码如下
\documentclass{article}
\usepackage{multirow} %使用multirow必须加载该package
\begin{document}
\begin{table}[tbp]
\centering
\begin{tabular}{|ccccc|ccccc|}
\hline
Case & Structural \ State & Damage\ Location & Damage \ extent & Excitation \ Level(V)
\\ \hline % \hline 在该行下面画一整条横线
32 & \multirow{6}{*}{DamagedStates (DS3)} & 1C and 3A & DB0 & 2 \\ % * 表示由系统自动调整文字
33 & & 1C and 3A & DB0 & 5 \\
34 & & 1C and 3A & DB0 & 8 \\
35 & & 1C and 3A & DBB & 2 \\
36 & & 1C and 3A & DBB & 5 \\
37 & & 1C and 3A & DBB & 8 \\
\hline
\end{tabular}
\caption{List of unknown states}
\end{table}
% (2)多行多列同时合并
\begin{table}
\begin{tabular}{|c|c|c|c|c|}
\hline \hline
\multirow{2}{*}{multi-rows} &
\multicolumn{2}{|c|}{multi-columns} &
\multicolumn{2}{|c|}{\multirow{2}{*}{multi-rowand col}} \\
\cline{2-3} % \cline用于画横线\cline{i-j}表示从第i列画到第j列
& column-1 & column-2 &\multicolumn{2}{|c|}{} \\
\hline
label-1 & label-2 & label-3 &label-4 & label-5 \\
\hline
\end{tabular}
\end{table}
% (3)表格中的对齐和宽度控制
\begin{tabular}{|c|p{0.35\textwidth}|p{0.35\textwidth}|}
\hline
& \centering{\textsf{AVANTAGES}} &\centering{\textsf{INCONVENIENTS}} \tabularnewline
\hline
\textbf{Rayleigh} & -aaaaa1aa & -aaa2aaaa \\
& -aaaa3aaa & -aaaa4aaa\\
\hline
\textbf{Rice} & -RRRRR1RR & -RRRRR2RR \\
&-RRR3RRRR&\\
&-RRRR4RRR &\\
\hline
\textbf{Okumura-Hata}&-OOOOO1OOO&-OOOO2OOOO\\
&&-OOOO3OOOO\\
\hline
\textbf{Weibull}&-WWWWW1WWWWW & -WWWW2WWWWWW\\
&-WWWWWW3WWWW&-WWWWW4WWWWW\\
\hline
\end{tabular}
\end{document}
650) this.width=650;" name="image_operate_30951279260021054" src="http://s6.sinaimg.cn/middle/57235cc70745917c76405&690" alt="Latex排版——复杂表格制作" title="Latex排版——复杂表格制作" style="margin:0px;padding:0px;border:0px;list-style:none;" />
650) this.width=650;" name="image_operate_52681279260019400" src="http://s7.sinaimg.cn/middle/57235cc748b7aedd912a6&690" alt="Latex排版——复杂表格制作" title="Latex排版——复杂表格制作" style="margin:0px;padding:0px;border:0px;list-style:none;" />
650) this.width=650;" src="http://s13.sinaimg.cn/middle/57235cc748b7ec0de737c&690" width="649" height="276" alt="Latex排版——复杂表格制作" title="Latex排版——复杂表格制作" style="margin:0px;padding:0px;border:0px;list-style:none;" />
原文出处:http://blog.sina.com.cn/s/blog_57235cc70100jnqu.html