[Tex/LaTex] How to place footnotes in the caption of a table

captionsfootnotestablestabularx

Problem:

Question title says it all, although it can be misunderstood, what I am trying to achieve is through a command (hoping for footnote) to be able to place a footnote mark anywhere in the table and place it in the caption of the table, not in the bottom of the page, obviously avoiding repeated footnote marks (off course there will be footnote marks in the bottom of the page, coming from the text), if possible, using the same footnote marks that the footnote command is using.

Desired result:

Desired result

MWE:

This minimal working example is made just to ease the need of start a code, however it does not employ the desired technique for the command.

\documentclass{article}
\usepackage[font=small]{caption}
\begin{document}
\begin{table}
\centering
    \begin{tabular}{c|l|r}
    \hline
\multicolumn{1}{c|}{Zone} & \multicolumn{1}{c|}{Power Supply} & \multicolumn{1}{c}{Phase} \\
 & \multicolumn{1}{c|}{Kind\textsuperscript{*}} &\multicolumn{1}{c}{or Area \textsuperscript{$\Psi$}}\\
\hline\hline
A & Single-phase & Machining
\end{tabular}
  \caption{Power requirements.\\\textsuperscript{*}Single or three phase.\\\textsuperscript{$\Psi$} Important note.}
  \label{tab:phaseDistribution}
\end{table}
\end{document}

Obtained through code

How can this be done?

Best Answer

So, there is a tablefootnote package. However, it places the description of the footnote somewhere in the text in the same numeration as for normal footnotes. There may be a possibility to change this, but there is another possibility, which I would prefer.

With the threeparttable package you can insert modified footnotes and list them where you want. In my case, I like to list them below the table, as the caption is placed above (captions for tables above, captions for figures below).

Here is a MWE:

\documentclass[a4, 12pt]{report}
\usepackage{threeparttable}

\begin{document}

\begin{table}
\centering
\begin{threeparttable}
\caption{This is a caption}
\begin{tabular}{cc}
1&This is a line without footnote\\
2&This is a line with a footnote \tnote{\dag}\\
3&This is a line with another footnote\tnote{\ddag}\\
4&This is a line with the same footnote as in line 2\tnote{\dag}\\
5&This is a line with a third footnote\tnote{+}\\
\end{tabular}
\footnotesize
\begin{tablenotes}
\item[\dag] Footnote from line 2 and 4
\item[\ddag] Footnote from line 3
\item[+] Footnote from line 5
\end{tablenotes}
\end{threeparttable}
\end{table}

\end{document}

This gives you this table:

enter image description here