I'm trying to make that table:
\documentclass[default]{sn-jnl}
\usepackage{verbatim}
\usepackage{hyperref}
\usepackage{graphicx}%
\usepackage{multirow}%
\usepackage{amsmath,amssymb,amsfonts}%
\usepackage{amsthm}%
\usepackage{mathrsfs}%
\usepackage[title]{appendix}%
\usepackage{xcolor}%
\usepackage{textcomp}%
\usepackage{manyfoot}%
\usepackage{booktabs}%
\usepackage{algorithm}%
\usepackage{algorithmicx}%
\usepackage{algpseudocode}%
\usepackage{listings}%
\usepackage{adjustbox}%
\theoremstyle{thmstyleone}%
\newtheorem{theorem}{Theorem}%
\newtheorem{proposition}[theorem]{Proposition}%
\theoremstyle{thmstyletwo}%
\newtheorem{example}{Example}%
\newtheorem{remark}{Remark}%
\theoremstyle{thmstylethree}%
\newtheorem{definition}{Definition}%
\raggedbottom
\begin{document}
\title[Some title]{Some title}
\abstract{Some abstract}
\maketitle
\section{INTRODUCTION}
.....
\begin{table}[ht]
\centering
\caption{Statistical tests.\label{tab:II}}
\begin{adjustbox}{max width=1.0\textwidth,center}
\begin{tabular}{c c c c c c}
\hline
\multirow{5}{}{Algorithm} & \multirow{5}{}{No. of streams} \
\multicolumn{5}{l}{$\qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad$ Inter-stream correlation} \[6pt]
\cline{3-6}
& & \multirow{2}{}{NIST} & \multirow{2}{}{Dieharder} & \multirow{2}{}{TestU01} & \multirow{2}{}{PractRand (bytes)} \[11pt]
\hline \
\textbf{A} & $2^{127}$ & $>$ min. pass rate &passed & passed & $>2^{43}$, $>2^{43}$ \[7pt]
\textbf{B} & $2^{63}$ & $>$ min. pass rate &passed & passed & $>2^{43}$, $>2^{43}$ \[7pt]
\textbf{C} & $2^{63}$ & $>$ min. pass rate &passed & passed & $>2^{43}$, $>2^{43}$ \[7pt]
CG32 & $2^{31}$ & not applied ¬ applied & not applied & $> 2^{43}$, $< 2^{34}$ \[7pt]
CG64-32 & $2^{31}$ & not applied ¬ applied & not applied & $> 2^{43}$, $< 2^{35}$ \[7pt]
CG16 & $2^{15}$ & not applied ¬ applied & not applied &$< 2^{24}$, $< 2^{17}$ \[7pt]
CG32-16 & $2^{15}$ & not applied ¬ applied & not applied & $< 2^{20}$, $< 2^{18}$ \[7pt]
\hline
\end{tabular}
\end{adjustbox}
\end{table}%
\raggedbottom
\bibliography{cg-bibliography}
\end{document}
But I can't use cline, beacuse I get undefined control sequence. How to make that cline?
The full log:
! Undefined control sequence.
l.472 \cline
{3-6}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
sn-jnlis not a standard class, so I can't compile your example as it is. If I change the class toarticle, then I don't get an error. Can you trim this down to a minimal example that shows the error you're getting? – Teepeemm Aug 09 '23 at 18:52sn-jnl, show the full log. Your example is far from minimal do you need\usepackage{manyfoot}%to show the error. A minimal example would have much smaller log and be much easier to debug – David Carlisle Aug 09 '23 at 19:01booktabsis loaded here. – campa Aug 09 '23 at 19:21\let\cline\cmirdulebut of course at that point\cmidruleis undefined. One should loadbooktabsbefore the document class. A very badly written class. – campa Aug 09 '23 at 19:33\RequirePackage{booktabs}before\documentclass. – Jasper Habicht Aug 09 '23 at 19:46manyfootandbooktabs. – egreg Aug 09 '23 at 19:46