I am trying to use footnotes in a table, and I saw a regular \footnote{}
wouldn't work, but \tablefootnote{}
should be used instead, therefore importing its package.
I did that, but the footnote is not showing anyway:
\usepackage{tablefootnote}
...
\begin{center}
\begin{tabular}
{|c|c|c|c|c|}
\cellcenter{\thead{Item}} & \cellcenter{\thead{Unit}} & \cellcenter{\thead{Quantity}} & \cellcenter{\thead{Unit Value} & \cellcenter{\thead{Total Value}} \\ \hline
Zenefits HHRR & €/ud. & 0\tablefootnote{Zenefits is free} & 20 & 0 \\ \hline
\end{tabular}
\end{center}
I am getting no errors. What am I missing?
Best Answer
This is more extended comment than answer:
tablefootnote
works only in table environment\begin{center}\centering ...\end{center}
is strange\thead{}
nullify the column typem{...}
With MWE below I got the following result:
The footnote appear at bottom of page (not shown on picture). If you like to have them at the table, than this is not right way to do this.
Edit: I forgot to mentioned before, that MWE has two solution,. One which follows your code snipped and one, which use rules from
booktabs
package (which for your design is not needed). The purpose of the second case is only to show other possible (more nice) table design.