[Tex/LaTex] place footnote under table above caption

floatrowfootnotestables

I would like to place a footnote under a table and above the caption. Since I am using the floatrow package I went with \floatfoot, however there is no option to position floatfoot below the table and above the caption.

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}

Best Answer

You could use \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}

Or even a simple text line with the desired formatting:

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