1. 习惯了用IEEE写,多行表格移到IET模板报错
\documentclass{cta-author}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{array}
\usepackage{booktabs}
\usepackage{multirow}
\newtheorem{theorem}{Theorem}{}
\newtheorem{corollary}{Corollary}{}
\newtheorem{remark}{Remark}{}
加上上述引用可以让\multirow{5},\cline显示出来,但会报错。
2.使用IET格式的写法,
\midrule
\cmidrule{2-6}
示例:
\documentclass{cta-author}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{array}
\usepackage{booktabs}
\usepackage{multirow}
\newtheorem{theorem}{Theorem}{}
\newtheorem{corollary}{Corollary}{}
\newtheorem{remark}{Remark}{}
\begin{document}
\begin{table}[!t]
\setlength\extrarowheight{2pt}
\processtable{A Comparative Description of Different Algorithms\label{table3}}
{\begin{tabular}{m{1.5cm}<{\centering}m{4.5cm}<{\centering}m{3.5cm}
<{\centering}m{2cm}<{\centering}m{3cm}<{\centering}m{1cm}<{\centering}}
\toprule
\textbf{1}&\textbf{2}&\textbf{3}&\textbf{4}&\textbf{5}&\textbf{6} \\
\midrule
\multirow{2}{1.5cm}{\textbf{A}} & B & C & D& E & \cite{1-17} \\
\cmidrule{2-6}
& B& C & D & E & \cite{1-18} \\
\cmidrule{2-6}
& B &C & D & E & \cite{1-18} \\
\bottomrule
\end{tabular}}{}
\end{table}
\end{document}
\documentclass[11pt]{article}
\begin{document}
\begin{table}[ht]
\caption{Multi-column table}
\begin{center}
\begin{tabular}{cc}
\hline
\multicolumn{2}{c}{Multi-column}\\
X&X\\
\hline
\end{tabular}
\end{center}
\label{tab:multicol}
\end{table}
\end{document}
\documentclass[11pt]{article}
\usepackage{multirow}
\begin{document}
\begin{table}[ht]
\caption{Multi-row table}
\begin{center}
\begin{tabular}{cc}
\hline
\multirow{2}{*}{Multirow}&X\\
&X\\
\hline
\end{tabular}
\end{center}
\label{tab:multicol}
\end{table}
\end{document}
\documentclass[11pt]{article}
\usepackage{multirow}
\begin{document}
\begin{table}[ht]
\caption{Multi-column and multi-row table}
\begin{center}
\begin{tabular}{ccc}
\hline
\multicolumn{2}{c}{\multirow{2}{*}{Multi-col-row}}&X\\
\multicolumn{2}{c}{}&X\\
\hline
X&X&X\\
\hline
\end{tabular}
\end{center}
\label{tab:multicol}
\end{table}
\end{document}