I use \begin{longtable} to edit a table to change page, and the title is as follows:
But I need to fit the template whose form is :
So how should I modify it?
My partial code:
\documentclass[review,onefignum,onetabnum]{siamart171218}
\usepackage{mathrsfs}
\usepackage[figuresright]{rotating}
\usepackage{longtable}
\usepackage{array}
\usepackage{multirow}
\usepackage{braket,amsfonts}
\usepackage{array}
\usepackage[caption=false]{subfig}
%% Used for papers with subtables created with the subfig package
\captionsetup[subtable]{position=bottom}
\captionsetup[table]{position=bottom}
%% For referencing line numbers
\Crefname{ALC@unique}{Line}{Lines}
%% For creating math operators
\usepackage{amsopn}
\DeclareMathOperator{\Range}{Range}
%% ------------------------------------------------------------------
%% Macros for in-document examples. These are not meant to reused for
%% SIAM journal papers.
%% ------------------------------------------------------------------
\usepackage{xspace}
\usepackage{bold-extra}
\usepackage[most]{tcolorbox}
\newcommand{\BibTeX}{{\scshape Bib}\TeX\xspace}
\newcounter{example}
\colorlet{texcscolor}{blue!50!black}
\colorlet{texemcolor}{red!70!black}
\colorlet{texpreamble}{red!70!black}
\colorlet{codebackground}{black!25!white!25}
\newcommand\bs{\symbol{'134}} % print backslash in typewriter OT1/T1
\newcommand{\preamble}[2][\small]{\textcolor{texpreamble}{#1\texttt{#2 \emph{\% <- Preamble}}}}
\begin{document}
\newcolumntype{R}{>{$}r<{$}}
\newcolumntype{V}[1]{>{[\;}*{#1}{R@{\;\;}}R<{\;]}}
\makeatletter\def\@captype{table}\makeatother
\captionsetup{position=top}
{\centering
\footnotesize
% \begin{center}
\begin{longtable}{|c|c|cccc|}
\caption{Comparison on artificial datasets}\label{tab:1}\\
\hline
(m,n) & p & method & ER & k & time\\
\hline
\multirow{20}{*}{(300,400)}
& 0\% & \begin{tabular}{c}
1 \\ 2 \\ 3 \\ 4 \\ 5\\ 6\\
\end{tabular}
& \begin{tabular}{c}
\bf{1.02e-9}\\1.37e-5\\1.38e-6\\5.79e-5\\8.11e-8\\2.54e-6\\
\end{tabular}
\\
\hline
\end{longtable}}
\end{document}



\\after the caption. – leandriis Mar 24 '19 at 11:19\bf: “Correct” way to bold/italicize text? Could you please also add the reason for the nested tabular environments? – leandriis Mar 24 '19 at 11:20\documentclassfollows that article is intended to be published in some siam journal, so i would use caption style as they define in their document class. – Zarko Mar 24 '19 at 12:13