Пробел между таблицей и подписью* Внутри таблицы

Пробел между таблицей и подписью* Внутри таблицы

Я вставляю два tabulars в один tableдля панелей A и B. В tableесть один caption, и в каждом tabularтакже есть один , caption*как показано ниже.

\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}

И я обнаружил, что зазор между первым tabularи вторым caption*слишком узкий. Остальные три зазора ( caption- caption*, caption*- tabular, caption*- tabular) в порядке. Почему у них разные зазоры?

Я также попробовал subtableсделать это следующим образом, но узкий зазор все равно выглядит некрасиво.

\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}

Здесь я добавляю свою версию ( \vspace{10pt}для \caption*и \vspace{6pt}для \subcaption*), но не знаю, лучшая ли она.

\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}

решение1

Возможно, этот пример поможет.

\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}

введите описание изображения здесь

Или это: (можно также использовать \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}

введите описание изображения здесь

ОБНОВЛЯТЬпосле комментария. Разместите все в табличной среде.

\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}

введите описание изображения здесь

Связанный контент