I am using sn-jnl class for journal submission. unfortunately it does not recognize \cline in muticolum table. Also tried \Requirespackage{bookstab} but still errors. Therfore used \cmidrule but the lines are broken (discontinuos). Following code i tried and result is attached. I need connected lines. Thanks
\begin{table}[]
\centering
\caption{Parameters Impact}
\label{table:impact}
\begin{tabular}{|c|c|c|c|}
\hline
\multicolumn{1}{|l|}{\begin{tabular}[c]{@{}l@{}}D -X\end{tabular}} &
\multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Y- Z \end{tabular}} &
\multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}} Numbers \end{tabular}} &
\multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}} TT (/\%)\end{tabular}} \\ \hline
\multirow{6}{*}{3} & \multirow{2}{*}{3} & 1 & 22.1 \\
\cmidrule{3-4}
& & 3 & 22 \\
\cmidrule{2-4} %\cline{2-4}
& \multirow{2}{*}{5} & 2 & 16 \\
\cmidrule{3-4}
& & 5 & 40 \\
\cmidrule{2-4}
& \multirow{2}{*}{6} & 7 & 30 \\
\cmidrule{3-4}
& & 8 & 45 \\ \hline
\end{tabular}
\end{table}
\let\cline\cmidruleas it is done by thesn-jnlclass can really be said to be a feature since it reather leads to confusion than to improved typesetting ... – Jasper Habicht Jan 07 '24 at 08:06\cline, but as the document class does\let\cline\cmidrule, the output will still be the same. So, I would recommend not using vertical rules at all and stick to the style suggested by thebooktabspackage. – Jasper Habicht Jan 07 '24 at 08:12