兩個 tblr 子表彼此相鄰,第三個 tblr 子表在它們下面

兩個 tblr 子表彼此相鄰,第三個 tblr 子表在它們下面

我有 3tblr個子表(在一個table環境內),我想將前 2 個子tblr表放在另一個子表旁邊,將第三個子tblr表放在前兩個子表下面。我該怎麼做? (請參閱下面的程式碼)。

在此輸入影像描述

\documentclass[twocolumn,fleqn,10pt,dvipsnames,table]{wlscirep_modified}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{multirow, booktabs, tabularx}
\usepackage{makecell}
\usepackage{xurl}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{tabularx}
\usepackage{xfp} 
\usepackage{color}
\usepackage{tabularray}
\usepackage{tikz}
\usepackage{textcomp,gensymb}


\usepackage{tabulary,longtable,afterpage}
\makeatletter
\newcommand{\aftertwo}[1]{\afterpage{\if@firstcolumn #1
  \else\afterpage{#1}\fi}}
\makeatother





\begin{document}


% -------------------
% Two columns
\aftertwo{
\onecolumn
%
\begingroup
\setlist[itemize]{label={--},nosep, leftmargin=*,
before=\vspace*{-\baselineskip}}
\setlength{\extrarowheight}{1.5pt}
\begin{small}
% -------------------


\begin{table}[ht]
\centering
\caption{A general description about subcaption \textbf{(a)}, subcaption \textbf{(b)} and subcaption \textbf{(c)}...
}
\subcaption{Some text for this subcaption ...} 
\begin{tblr}
{
   width = \textwidth, 
   colspec = {lllllllll}, 
   hlines,
   row{1} = {font=\bfseries}, 
   hline{1,Z}=0.8pt, hline{2}=0.4pt, 
   hline{1-12}=solid,
   rowhead=1
}
Feature & A & B & C \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
\end{tblr}
\bigskip
\subcaption{Some text here ...}
\begin{tblr}
{
   width = \textwidth, 
   colspec = {lllllllll}, 
   hlines,
   row{1} = {font=\bfseries}, 
   hline{1,Z}=0.8pt, hline{2}=0.4pt, 
   hline{1-12}=solid,
   rowhead=1
}
Feature & A & B & C \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
\end{tblr}
\bigskip
\subcaption{Some other text here ...}
\begin{tblr}
{
   width = \textwidth, 
   colspec = {lllllllll}, 
   hlines,
   row{1} = {font=\bfseries}, 
   hline{1,Z}=0.8pt, hline{2}=0.4pt, 
   hline{1-12}=solid,
   rowhead=1
}
Feature & A & B & C \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
\end{tblr}
\end{table}


% -------------------
% Two columns
\end{small}
\endgroup
\twocolumn
}
% -------------------


\end{document}

答案1

我不知道你使用的文檔類,但你可以嘗試使用subcaptionblocks.在下面的 MWE 中,我盡可能保留了您的 MWE,僅將文檔類別更改為article並加載了enumitem您使用的包\setlist,我認為這是必要的。

labelfont=bf我在載入套件時使用了該選項subcaption,以粗體字體呈現子標題的標籤。請注意,在 a 內部subcaptionblock,您應該使用\captionand 而不是\subcaption,但前者會被解釋為就像您使用了後者一樣。

\documentclass[twocolumn, fleqn, 10pt, dvipsnames, table]{article}
\usepackage{enumitem}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{multirow, booktabs, tabularx}
\usepackage{makecell}
\usepackage{xurl}
\usepackage{caption}
\usepackage[labelfont=bf]{subcaption}
\usepackage{tabularx}
\usepackage{xfp} 
\usepackage{color}
\usepackage{tabularray}
\usepackage{tikz}
\usepackage{textcomp, gensymb}

\usepackage{tabulary, longtable, afterpage}
\makeatletter
\newcommand{\aftertwo}[1]{\afterpage{\if@firstcolumn #1
  \else\afterpage{#1}\fi}}
\makeatother

\begin{document}

% -------------------
% Two columns
\aftertwo{
\onecolumn
%
\begingroup
\setlist[itemize]{label={--},nosep, leftmargin=*,
before=\vspace*{-\baselineskip}}
\setlength{\extrarowheight}{1.5pt}
\begin{small}
% -------------------

\begin{table}[ht]
\centering
\caption{A general description about subcaption \textbf{(a)}, subcaption \textbf{(b)} and subcaption \textbf{(c)}...
}
\begin{subcaptionblock}{.5\textwidth}
\caption{Some text for this subcaption ...}
\begin{tblr}
{
   width = \textwidth, 
   colspec = {lllllllll}, 
   hlines,
   row{1} = {font=\bfseries}, 
   hline{1,Z}=0.8pt, hline{2}=0.4pt, 
   hline{1-12}=solid,
   rowhead=1
}
Feature & A & B & C \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
\end{tblr}
\end{subcaptionblock}%
\begin{subcaptionblock}{.5\textwidth}
\caption{Some text here ...}
\begin{tblr}
{
   width = \textwidth, 
   colspec = {lllllllll}, 
   hlines,
   row{1} = {font=\bfseries}, 
   hline{1,Z}=0.8pt, hline{2}=0.4pt, 
   hline{1-12}=solid,
   rowhead=1
}
Feature & A & B & C \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
\end{tblr}
\end{subcaptionblock}
\begin{subcaptionblock}{\textwidth}
\centering\bigskip
\caption{Some other text here ...}
\begin{tblr}
{
   width = \textwidth, 
   colspec = {lllllllll}, 
   hlines,
   row{1} = {font=\bfseries}, 
   hline{1,Z}=0.8pt, hline{2}=0.4pt, 
   hline{1-12}=solid,
   rowhead=1
}
Feature & A & B & C \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
\end{tblr}
\end{subcaptionblock}
\end{table}

% -------------------
% Two columns
\end{small}
\endgroup
\twocolumn
}
% -------------------

\end{document}

在此輸入影像描述

答案2

  • 我沒有你的文檔類。相反,我使用article,但我很確定建議的解決方案也適用於您的解決方案。
  • 正如我所看到的,您所顯示的表格很短,可以放在一頁上,因此它們可以輕鬆地適應table*環境(跨越文件中的兩列),因此不需要從兩列切換到一列柱子和後面。
  • 您應該知道,table*在插入文字後,它將出現在下一頁的頂部。
  • 如果您估計它可以位於插入的同一頁面的底部,那麼您可以透過使用套件來強制它stfloats(就像我在下面的 MWE 中所做的那樣)。
  • 對於子表,我將使用套件subfloat提供的環境,或者更確切地說,使用套件版本 3.1 或更高版本subfig提供的模擬。subcaption使用它的表代碼要短一些。
  • 首先,我將在\hfill兩個子表之間進行分隔,對於第三個子表,您只需在其之前插入空行(並最終添加一些垂直跳過(例如\bigskip)以更好地形成表格:
\documentclass[twocolumn, fleqn]{article}
%--------------- show page layout. don't use in a real document!
\usepackage{showframe}
\renewcommand\ShowFrameLinethickness{0.15pt}
\renewcommand*\ShowFrameColor{\color{red}}
%
\usepackage{lipsum}                              % for dummy text
%---------------------------------------------------------------%
\usepackage[T1]{fontenc}
\usepackage{textcomp,gensymb}
\usepackage{caption, subcaption}
% for inserting bit floats on page
    \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
    \renewcommand{\textfraction}{0.07}  % allow minimal text w. figs

\usepackage{xfp}
\usepackage{xcolor}
% \usepackage{longtable, makecell, multirow, 
%              tabulary, tabularx} % not needed in this particular case
\usepackage{tabularray}
\UseTblrLibrary{booktabs, siunitx} 

\usepackage{stfloats}                   % for forcing floats to bottom of page

\usepackage{tikz}


\begin{document}
\lipsum[1][1-3]

    \begin{table*}[b]
    \centering
\caption{A general description about subcaption \textbf{(a)}, subcaption \textbf{(b)} and subcaption \textbf{(c)}...
}
\subfloat[Some text for this subcaption ...]%
{%
\begin{tblr}{hline{1,Z}=0.8pt, hline{2}=0.4pt,
             colspec = {@{} l Q[c, si={table-format=1.3}]
                              Q[c, si={table-format=4.2}]
                              Q[c, si={table-format=1.3}]
                        @{} },
             row{1} = {guard, font=\bfseries},
             rowsep = 0.5pt,
             row{even[4]} = {abovesep=1ex}
             }
Feature                & A    & B       & C    \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
    \end{tblr}
}
\hfill
\subfloat[Some text for this subcaption ...]%
{%
\begin{tblr}{hline{1,Z}=0.8pt, hline{2}=0.4pt,
             colspec = {@{} l Q[c, si={table-format=1.3}]
                              Q[c, si={table-format=4.2}]
                              Q[c, si={table-format=1.3}]
                        @{} },
             row{1} = {guard, font=\bfseries},
             rowsep = 0.5pt,
             row{even[4]} = {abovesep=1ex}
             }
Feature                & A    & B       & C    \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
    \end{tblr}
}

\bigskip
\subfloat[Some text for this subcaption ...]%
{%
\begin{tblr}{hline{1,Z}=0.8pt, hline{2}=0.4pt,
             colspec = {@{} l Q[c, si={table-format=1.3}]
                              Q[c, si={table-format=4.2}]
                              Q[c, si={table-format=1.3}]
                        @{} },
             row{1} = {guard, font=\bfseries},
             rowsep = 0.5pt,
             row{even[4]} = {abovesep=1ex}
             }
Feature                & A    & B       & C    \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
A quite long text here & 0.84 & 3020.15 & 0.78 \\
    \end{tblr}
}
\end{table*}
\lipsum[2-9]

\end{document}

您確定需要所有載入的套件來寫入表格嗎?其中大多數都可以很容易地通過tabularray包替換...

在此輸入影像描述

(紅線表示頁面佈局)

答案3

我可能已經找到了一個解決方案,透過使用以下結構,由@Guido Muscioni 在“在子圖環境中對齊圖和表」(並在兩個頂部子表之間使用自訂的水平空間,如“如何在乳膠中的兩個圖形之間添加額外的水平間距?",我用的是\hspace{0.05\textwidth}) \hfill

基本想法是使用這個結構:

\begin{table}\centering
\subfloat[legend]{\label{A}}\hfill
\subfloat[legend]{\label{B}}\par 
\subfloat[legend]{\label{C}}
\caption{my table}
\end{table}

然後再加入tblr裡面的\subfloat,如下(只是一個MWE):

\begin{table}\centering
\subfloat[legend]{\label{A}\begin{tblr}{}Feature & A & B & C\\\end{tblr}}\hfill
\subfloat[legend]{\label{B}\begin{tblr}{}Feature & A & B & C\\\end{tblr}}\par 
\subfloat[legend]{\label{C}\begin{tblr}{}Feature & A & B & C\\\end{tblr}}
\caption{my table}
\end{table}

所以,回到我原來的帖子,這是最終的結果:


\documentclass[twocolumn,fleqn,10pt,dvipsnames,table]{wlscirep_SI}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{multirow, booktabs, tabularx}
\usepackage{makecell}
\usepackage{xurl}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{tabularx}
\usepackage{xfp} 
\usepackage{color}
\usepackage{tabularray}
\usepackage{tikz}
\usepackage{textcomp,gensymb}


\usepackage{tabulary,longtable,afterpage}
\makeatletter
\newcommand{\aftertwo}[1]{\afterpage{\if@firstcolumn #1
  \else\afterpage{#1}\fi}}
\makeatother





\begin{document}


% -------------------
% Two columns
\aftertwo{
\onecolumn
%
\begingroup
\setlist[itemize]{label={--},nosep, leftmargin=*,
before=\vspace*{-\baselineskip}}
\setlength{\extrarowheight}{1.5pt}
\begin{small}
% -------------------




\begin{table}\centering
\caption{A general description about subcaption \textbf{(a)}, subcaption \textbf{(b)} and subcaption \textbf{(c)}}
\subfloat[Subcaption for subtable \textbf{(a)}]{\label{a}\begin{tblr}
{
   width = \textwidth, 
   colspec = {lllllllll}, 
   hlines,
   row{1} = {font=\bfseries}, 
   hline{1,Z}=0.8pt, hline{2}=0.4pt, 
   hline{1-12}=solid,
   rowhead=1
}
Feature & A & B & C \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
\end{tblr}}
\hspace{0.05\textwidth} %\hfill
\subfloat[Subcaption for subtable \textbf{(b)}]
{\label{b}\begin{tblr}
{
   width = \textwidth, 
   colspec = {lllllllll}, 
   hlines,
   row{1} = {font=\bfseries}, 
   hline{1,Z}=0.8pt, hline{2}=0.4pt, 
   hline{1-12}=solid,
   rowhead=1
}
Feature & A & B & C \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
\end{tblr}}\par 
\bigskip
\subfloat[Subcaption for subtable \textbf{(c)}]
{\label{c}\begin{tblr}
{
   width = \textwidth, 
   colspec = {lllllllll}, 
   hlines,
   row{1} = {font=\bfseries}, 
   hline{1,Z}=0.8pt, hline{2}=0.4pt, 
   hline{1-12}=solid,
   rowhead=1
}
Feature & A & B & C \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
\end{tblr}}
\end{table}



% -------------------
% Two columns
\end{small}
\endgroup
\twocolumn
}
% -------------------


\end{document}

在此輸入影像描述

答案4

我不知道wlscirep_modified,但我想所提出的解決方案也適用於它。

  1. 無需技巧即可獲得一列輸出,只需使用table*

  2. 使用單獨的subtable環境

這是代碼,儘管我不明白為什麼要使用tblr.我添加了一個技巧,可以容納浮動而不是單獨在頁面中。

\documentclass[twocolumn,fleqn,10pt,dvipsnames,table]{wlscirep}

\usepackage[T1]{fontenc}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{tabularray}

\usepackage{lipsum}% for context

\renewcommand\dblfloatpagefraction{0.7}% usual value 0.5

\begin{document}

\lipsum[1-4]

\begin{table*}
\centering\small

\caption{A general description about subcaption 
  \textbf{(a)}, subcaption \textbf{(b)} and subcaption \textbf{(c)}...}

\begin{subtable}{0.5\textwidth}
\centering
\subcaption{Some text for this subcaption ...} 

\begin{tblr}
{
   width = \textwidth, 
   colspec = {lllllllll}, 
   hlines,
   row{1} = {font=\bfseries}, 
   hline{1,Z}=0.8pt, hline{2}=0.4pt, 
   hline{1-12}=solid,
   rowhead=1
}
Feature & A & B & C \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
\end{tblr}
\end{subtable}%
\begin{subtable}{0.5\textwidth}
\centering

\subcaption{Some text here ...}
\begin{tblr}
{
   width = \textwidth, 
   colspec = {lllllllll}, 
   hlines,
   row{1} = {font=\bfseries}, 
   hline{1,Z}=0.8pt, hline{2}=0.4pt, 
   hline{1-12}=solid,
   rowhead=1
}
Feature & A & B & C \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
\end{tblr}
\end{subtable}

\bigskip

\begin{subtable}{0.5\textwidth}
\centering

\subcaption{Some other text here ...}
\begin{tblr}
{
   width = \textwidth, 
   colspec = {lllllllll}, 
   hlines,
   row{1} = {font=\bfseries}, 
   hline{1,Z}=0.8pt, hline{2}=0.4pt, 
   hline{1-12}=solid,
   rowhead=1
}
Feature & A & B & C \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\  
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
A quite long text here & 0.84 & 3020.15 & 0.78 \\ 
\end{tblr}
\end{subtable}

\end{table*}

\lipsum[5-21]

\end{document}

在此輸入影像描述

相關內容