coloque nota de rodapé abaixo da tabela acima da legenda

coloque nota de rodapé abaixo da tabela acima da legenda

Eu gostaria de colocar um footnoteabaixo de a tablee acima de caption. Como estou usando o floatrowpacote que optei \floatfoot, porém não há opção de posicionar floatfootabaixo da tabela e acima da legenda.

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}

Responder1

Você poderia 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}

Ou mesmo uma simples linha de texto com a formatação desejada:

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

Responder2

O pacotemesa de três partesfornece notas de tabela e provavelmente deve fazer o que quiser.

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

Infelizmente, a largura da nota da tabela é limitada à largura da tabela. Portanto, recomendo definir uma largura de tabela fixa tabular*assim:

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

informação relacionada