coloque una nota al pie debajo de la tabla encima del título

coloque una nota al pie debajo de la tabla encima del título

Me gustaría colocar un footnotedebajo de un tabley encima de caption. Sin embargo, como estoy usando el floatrowpaquete que elegí \floatfoot, no hay ninguna opción para colocarlo floatfootdebajo de la tabla y encima del título.

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}

Respuesta1

Podrías usar \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}

O incluso una simple línea de texto con el formato deseado:

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

Respuesta2

El paquetemesa de tres partesproporciona notas de tabla y probablemente debería hacer lo que quiera.

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

Lamentablemente, el ancho de la nota de la tabla está limitado al ancho de la tabla. Por lo tanto, recomiendo definir un ancho de tabla fijo tabular*como este:

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

información relacionada