Letax IET 模板做表格的一些问题

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}

 

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值