Espaço entre tabular e legenda* Dentro da tabela

Espaço entre tabular e legenda* Dentro da tabela

Estou inserindo dois tabulars em um tablepara os Painéis A e B. O tabletem um caption, e cada um tabulartambém tem um caption*como segue.

\documentclass{article}
\usepackage{caption}
\begin{document}
\begin{table}
\centering
\caption{SHORT TITLE}
\caption*{Panel A. LONG DESCRIPTION}
\begin{tabular}{*5c} \hline
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 \\ \hline
\end{tabular}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%             I ALSO NEED A GAP HERE             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\caption*{Panel B. LONG DESCRIPTION}
\begin{tabular}{*5c} \hline
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 \\ \hline
\end{tabular}
\end{table}
\end{document}

E descobri que a diferença entre o primeiro tabulare o segundo caption*é muito pequena. As outras três lacunas ( caption- caption*, caption*- tabular, caption*- tabular) estão OK. Por que eles têm lacunas diferentes?

Eu também tentei subtableo seguinte, mas ainda assim a lacuna estreita parece feia.

\documentclass{article}
\usepackage{caption,subcaption}
\begin{document}
\begin{table}
\centering
\caption{SHORT TITLE}
\begin{subtable}{\textwidth}
\centering
\subcaption{Panel A. LONG DESCRIPTION}
\begin{tabular}{*5c} \hline
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 \\ \hline
\end{tabular}
\end{subtable}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%              STILL NO GAP APPLIED              %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{subtable}{\textwidth}
\centering
\subcaption{Panel B. LONG DESCRIPTION}
\begin{tabular}{*5c} \hline
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 \\ \hline
\end{tabular}
\end{subtable}
\end{table}
\end{document}

Aqui adiciono minha versão ( \vspace{10pt}for \caption*e \vspace{6pt}for \subcaption*), mas não sei se é a melhor.

\documentclass{article}
\usepackage{caption}
\begin{document}
\begin{table}
\centering
\caption{SHORT TITLE}
\caption*{Panel A. LONG DESCRIPTION}
\begin{tabular}{*5c} \hline
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 \\ \hline
\end{tabular}\vspace{10pt}

\caption*{Panel B. LONG DESCRIPTION}
\begin{tabular}{*5c} \hline
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 \\ \hline
\end{tabular}
\end{table}
\end{document}

Responder1

Talvez este exemplo ajude.

\documentclass{article}

\RequirePackage{float}
\RequirePackage{caption}

\begin{document}
    
\centerline{SHORT TITLE}

    \begin{table}[H]
        \centering      
        \caption*{Panel A. LONG DESCRIPTION}
        \begin{tabular}{*5c} \hline
            0 & 0 & 0 & 0 & 0 \\
            0 & 0 & 0 & 0 & 0 \\ \hline
        \end{tabular}
    \end{table}     
        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                     I ALSO NEED A GAP HERE             %
        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \begin{table}[H]    
            \centering
        \caption*{Panel B. LONG DESCRIPTION}
        \begin{tabular}{*5c} \hline
            0 & 0 & 0 & 0 & 0 \\
            0 & 0 & 0 & 0 & 0 \\ \hline
        \end{tabular}
    \end{table}

\end{document}

insira a descrição da imagem aqui

Ou este: (você também pode usar \subcaption*{⟨heading⟩})

\documentclass{article}
\usepackage{subcaption}
\begin{document}

\begin{table}
    \caption{FULL CAPTION}
    \begin{subtable}[t]{.5\linewidth}
      \centering
     \subcaption{    Panel A. LONG DESCRIPTION \\LONG DESCRIPTION }
        \begin{tabular}{*5c} \hline
            0 & 0 & 0 & 0 & 0 \\
            0 & 0 & 0 & 0 & 0 \\ \hline
        \end{tabular}
    \end{subtable}%
    \begin{subtable}[t]{.5\linewidth}
      \centering
    \subcaption{  Panel B. LONG DESCRIPTION \\ LONG DESCRIPTION}
      \begin{tabular}{*5c} \hline
        0 & 0 & 0 & 0 & 0 \\
        0 & 0 & 0 & 0 & 0 \\ \hline
      \end{tabular}
    \end{subtable} 
\end{table}

\end{document}

insira a descrição da imagem aqui

ATUALIZARdepois do comentário. Coloque tudo em um ambiente de mesa.

\documentclass{article}

\RequirePackage{float}
\RequirePackage{caption}

\begin{document}

\begin{table}
      
\caption{SHORT TITLE 1}

    \begin{table}[H]
        \centering      
        \caption*{Panel A. LONG DESCRIPTION}
        \begin{tabular}{*5c} \hline
            0 & 0 & 0 & 0 & 0 \\
            0 & 0 & 0 & 0 & 0 \\ \hline
        \end{tabular}
    \end{table}     
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 I ALSO NEED A GAP HERE             %
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \begin{table}[H]    
        \centering
        \caption*{Panel B. LONG DESCRIPTION}
        \begin{tabular}{*5c} \hline
            0 & 0 & 0 & 0 & 0 \\
            0 & 0 & 0 & 0 & 0 \\ \hline
        \end{tabular}
    \end{table}

\end{table}

\noindent ANOTHER GAP HERE    

\begin{table}[H] 
  
    \caption{SHORT TITLE 2}
    
    \begin{table}[H]
        \centering      
        \caption*{Panel C. LONG DESCRIPTION}
        \begin{tabular}{*5c} \hline
            0 & 0 & 0 & 0 & 0 \\
            0 & 0 & 0 & 0 & 0 \\ \hline
        \end{tabular}
    \end{table}     
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PLUS ANOTHER GAP HERE               %
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \begin{table}[H]    
        \centering
        \caption*{Panel D. LONG DESCRIPTION}
        \begin{tabular}{*5c} \hline
            0 & 0 & 0 & 0 & 0 \\
            0 & 0 & 0 & 0 & 0 \\ \hline
        \end{tabular}
    \end{table}
    
\end{table}

\end{document}

insira a descrição da imagem aqui

informação relacionada