캡션 위의 표 아래에 각주 배치

캡션 위의 표 아래에 각주 배치

footnotea 아래 table에 a 를 배치하고 싶습니다 caption. 그러나 floatrow함께 사용한 패키지를 사용하고 있기 때문에 표 아래와 캡션 위에 \floatfoot배치할 수 있는 옵션이 없습니다 .floatfoot

MWE:

\documentclass[12pt]{article}
\usepackage{floatrow}
\usepackage{caption}

\floatsetup[table]{footposition=bottom}
\captionsetup[table]{labelfont=bf}

\begin{document}

  \begin{table}

    \begin{tabular}{lr}
      Yellow & 3 \\
      Green & $k-3$ \\
    \end{tabular}

    \caption{Apples}
    \floatfoot{$k$ number of apples}

  \end{table}

\end{document}

답변1

다음을 사용할 수 있습니다 \RawCaption.

\documentclass[12pt]{article}
\usepackage{floatrow}
\usepackage{caption}

\captionsetup[table]{labelfont=bf}

\begin{document}

\begin{table}
\begin{tabular}{lr}
      Yellow & 3 \\
      Green & $k-3$ \\
\end{tabular}
\RawCaption{\caption*{\footnotesize$k$ number of apples}}
\caption{Apples}
\end{table}

\end{document}

또는 원하는 형식의 간단한 텍스트 줄도 가능합니다.

\documentclass[12pt]{article}
\usepackage{floatrow}
\usepackage{caption}

\captionsetup[table]{labelfont=bf}

\begin{document}

\begin{table}
\begin{tabular}{lr}
      Yellow & 3 \\
      Green & $k-3$ \\
\end{tabular}\par\medskip
{\footnotesize$k$ number of apples}
\caption{Apples}
\end{table}

\end{document}

답변2

패키지세 부분으로 나눌 수 있는테이블노트를 제공하며 아마도 원하는 것을 수행해야 할 것입니다.

\documentclass[12pt]{article}
\usepackage{floatrow}
\usepackage{caption}
\usepackage{threeparttable}

\floatsetup[table]{footposition=bottom}
\captionsetup[table]{labelfont=bf}

\begin{document}

\begin{table}
  \begin{threeparttable}[b]
  \caption{Apples}
    \begin{tabular}{lr}
      Yellow & 3 \\
      Green & $k-3$ \\
    \end{tabular}
    \begin{tablenotes}{\footnotesize
      \item [] $k$ number of apples
                      }
    \end{tablenotes}
  \end{threeparttable}
\end{table}

\end{document}

안타깝게도 테이블노트의 너비는 테이블 너비로 제한됩니다. 따라서 다음과 같이 고정 테이블 너비를 정의하는 것이 좋습니다 tabular*.

\begin{tabular*}{0.5\textwidth}{@{\extracolsep{\fill}}lr}
  ...
\end{tabular*}

관련 정보