为什么表格没有在最后一列后结束?

为什么表格没有在最后一列后结束?

我正在尝试制作一个简单的表格,但最后一列溢出了,没有边框,尽管内容并不多。我对乳胶还比较陌生,所以我不确定我是否遗漏了什么。

我使用了以下代码并且还附上了输出的图片。

\begin{table*}[t]
\centering
\begin{tabular*}{\textwidth}{|l|l|p{1.2cm}|p{1cm}|l|l
|l|l|l|l|l|l}

\hline
\multicolumn{1}{|c|}{\textit{\textbf{Paper}}} 
& \multicolumn{1}{c|}{\textit{\textbf{Year}}} 
& \multicolumn{1}{c|}{\textit{\textbf{Methodology}}}
& \multicolumn{1}{c|}{\textit{\textbf{Modality}}}
& \multicolumn{1}{c|}{\textit{\textbf{Automatic}}}       
& \multicolumn{1}{c|}{\textit{\textbf{Supervision}}}  
& \multicolumn{1}{c|}{\textit{\textbf{Acc.}}} 
& \multicolumn{1}{c|}{\textit{\textbf{Precision}}} 
& \multicolumn{1}{c|}{\textit{\textbf{Sensitivity}}} 
& \multicolumn{1}{c|}{\textit{\textbf{Specificity}}} 
& \multicolumn{1}{c|}{\textit{\textbf{DS*}}} 
& \multicolumn{1}{c|}{\textit{\textbf{HS*}}} 
\tabularnewline \hline
[27] &  2022 &  BiTr-Unet & T1, T2, T1ce, FLAIR &   semi & supervised & 95\% &   - &    - & - & 0.96 &  9.1647 \\      
 \hline
[28] &  2021 &  LBTS-Net &  T1, T2, FLAIR & semi &  supervised &    98.11\% &    - &    - & - & 91\% &  -                       
\tabularnewline \hline
[29] &  2019 &  stacked sparse auto encoder &   T1, T2 &    automatic & unsupervised &  0.96 &  -  &    0.93 &  1 & 0.96 &  - 
\tabularnewline \hline
[30] &  2020 &  hybrid deep auto encoder &  T1, T2, T1ce, FLAIR & automatic &   unsupervised &  98.50\% & 0.96 &    0.96 &  0.9954  & - &   - 
\tabularnewline \hline
[31]    &2020&  MM-GAN& T1, T2, T1ce, FLAIR&    semi&   unsupervised&   -   &-  &-& -   &0.6903&    -       
\tabularnewline \hline
[32]&   2021&   DD-GAN  &T1 ,T2w ,T1c , FLAIR   &semi&  unsupervised    &-& 0.735   &0.613  &-  &0.619& -
\tabularnewline \hline
\end{tabular*}
\end{table*}

在此处输入图片描述

答案1

  • 大部分主题,因为您的问题已通过评论解决,但是,您可能有兴趣看看另一种编写表格的方法。
  • 通过使用tblrtabularray,您的表格代码可以 - 当然在我看来 - 更加简洁和清晰:
\documentclass[twocolumn]{article}

\usepackage{tabularray}
\UseTblrLibrary{siunitx}


\begin{document}
%\begin{landscape}
    \begin{table*}[ht]
    \centering
    \small
\begin{tblr}{hlines, vlines,
             colsep = 4pt,
             colspec = {c l  X[1.3,l,m] 
                        *{3}{X[0.8,l, m, cmd=\hspace{0pt}]}
                             X[0.7,l, m, cmd=\hspace{0pt}] 
                        *{3}{X[0.6,l, m, cmd=\hspace{0pt}]}
                        *{2}{Q[l]} },
             row{1} = {font=\footnotesize\bfseries\itshape, c}
             }

Paper
    &   Year
        &   Methodology
            &   Modality
                &   Automatic
                    &   Supervision
                        &   Acc.
                            &   Preci\-sion
                                &   Sensi\-tivity
                                    &   Speci\-ficity
                                        &   DS*
                                            &   HS*     \\
{[27]} 
    &  2022
        &   BiTr-Unet
            &   T1, T2, T1ce, FLAIR
                &   semi
                    &   supervised
                        &   \qty{95}{\%}
                            & - & - & - &   0.96
                                            &   9.1647  \\
{[28]} 
    &  2021
        &   LBTS-Net
            &   T1, T2, FLAIR
                &   semi
                    &   supervised
                        &   \qty{98.11}{\%}
                            & - & - & - &   \qty{91}{\%}
                                            &  -            \\
{[29]} 
    &  2019
        &   stacked sparse auto encoder
            &   T1, T2
                &   automatic
                    &   unsupervised
                        &   0.96
                            & - & 0.93
                                & 1 & 0.96
                                        &  -            \\
{[30]}
    &  2020
        &   hybrid deep auto encoder
            &   T1, T2, T1ce, FLAIR
                &   automatic
                    &   unsupervised
                        &  \qty{98.50}{\%}
                            &   0.96
                                &   0.96
                                    &   0.9954
                                        & - & -         \\
{[31]}    
    &  2020
        &   MM-GAN& T1, T2, T1ce, FLAIR
            &   semi
                &   unsupervised
                    & - & - & - & - &   0.6903
                                        &  -            \\
{[32]}
    &  2021
        &   DD-GAN
            &   semi
                &   unsupervised
                    & - &   0.735
                            &   0.613
                                & - &   0.619
                                        &  -            \\
\end{tblr}
    \end{table*}
\end{document}

在此处输入图片描述

(红线表示页面布局)

相关内容