I want to add some sub-lines in my form; however, the lines generated by \cmidrule are pulling the words around it. The words above the \cmidrule seem higher than they should be, and the words below seem lower. The words at both sides of the \cmidrule, which are generated by \multicolumn, are also been lifted.
If I remove the sub-lines, everything goes fine.
\begin{table}
\TBL{\caption{This is the Caption. \label{Tab:tab4}}}
{\begin{fntable}\centering
\begin{tabular}{@{\extracolsep{\fill}}ccccccc}
\hline
\multirow[c]{2}{*}{$e_{o}=e_{m}$(\%)}&\multicolumn{3}{c}{Standard deviation} & \multicolumn{2}{c}{Reliability(\%)} &\multirow{2}{*}{Unfounded Cases} \\
% \cmidrule(rl){2-4} \cmidrule(rl){5-6}
& Correct & Incorrect & Total & Single & Double & \\
\hline
0.1 & 0.0111 & 0.0111 & 0.0111 & 00.00 & 00.00 & 0 \\
1.1 & 0.0111 & 0.0111& 0.0111& 00.00 & 00.00 & 0 \\
2.1 & 0.0111 & 0.0111 & 0.0111 & 00.00 & 00.00 & 0 \\
3.1 & 0.0111 & 0.0111& 0.0111& 00.00 & 00.00 & 0 \\
4.1 & 0.0111 & 0.0111 & 0.0111 & 00.00 & 00.00 & 0 \\
\hline
\end{tabular}%
\end{fntable}}
\end{table}
If I add them, the form is broken.
\begin{table}
\TBL{\caption{This is the Caption. \label{Tab:tab4}}}
{\begin{fntable}\centering
\begin{tabular}{@{\extracolsep{\fill}}ccccccc}
\hline
\multirow[c]{2}{*}{$e_{o}=e_{m}$(\%)}&\multicolumn{3}{c}{Standard deviation} & \multicolumn{2}{c}{Reliability(\%)} &\multirow{2}{*}{Unfounded Cases} \\
\cmidrule(rl){2-4} \cmidrule(rl){5-6}
& Correct & Incorrect & Total & Single & Double & \\
\hline
0.1 & 0.0111 & 0.0111 & 0.0111 & 00.00 & 00.00 & 0 \\
1.1 & 0.0111 & 0.0111& 0.0111& 00.00 & 00.00 & 0 \\
2.1 & 0.0111 & 0.0111 & 0.0111 & 00.00 & 00.00 & 0 \\
3.1 & 0.0111 & 0.0111& 0.0111& 00.00 & 00.00 & 0 \\
4.1 & 0.0111 & 0.0111 & 0.0111 & 00.00 & 00.00 & 0 \\
\hline
\end{tabular}%
\end{fntable}}
\end{table}
The codes work well with other templates; however, it is not with this one. I have observed that there are a lot of modifications associated with the \cmidrule commands. Is it possible that the template itself contains bugs? The most possible is that I use the template in the wrong way. I passed the codes associated with \cmidrule commands from the template's cls file.
\RequirePackage{booktabs}
\cmidrulewidth=.15pt%
\def@@@cmidrule[#1-#2]#3#4{\global@cmidla#1\relax
\global\advance@cmidla\m@ne
\ifnum@cmidla>0\global\let@gtempa@cmidrulea\else
\global\let@gtempa@cmidruleb\fi
\global@cmidlb#2\relax
\global\advance@cmidlb-@cmidla
\global@thisrulewidth=#3
@setrulekerning{#4}
\ifnum@lastruleclass=\z@\vskip 3\p@\fi
\ifnum0={\fi}\@gtempa \noalign{\ifnum0=}\fi\futurenonspacelet@tempa@xcmidrule}
\def@xcmidrule{%
\ifx@tempa\cmidrule
\vskip-@thisrulewidth
\global@lastruleclass=@ne
\else \ifx@tempa\morecmidrules
\vskip \cmidrulesep
\global@lastruleclass=@ne\else
\vskip 5\p@
\global@lastruleclass=\z@
\fi\fi
\ifnum0=`{\fi}}
%\let\cline\cmidrule


\clinerather than\cmidrule? – Werner Jul 21 '21 at 03:51\TBLmacro and the\fntableenvironment defined. and what's the purpose of@{\extracolsep{\fill}}outside of atabular*environment? – Mico Jul 21 '21 at 04:15@{\extracolsep{\fill}}particle does nothing useful in atabularenvironment. More precisely, it does exactly what the far more compact@{}particle does. – Mico Jul 21 '21 at 04:47