General ⇒ \footnote is not working within a tabular environment
-
- Posts: 20
- Joined: Thu Sep 06, 2007 7:31 pm
\footnote is not working within a tabular environment
I have used the following code to get the footnote. But footnote text is not showing except the marker.
\documentclass[11pt,a4paper]{article}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{caption}
\begin{document}
\section{Section title}
\begin{table}[!ht]
\centering
\subtable[\label{tab:chapter4:1a}]{
\tiny
\centering
\begin{tabular}{|c|c|c|}\hline
a&b&c\\
d&e&f\footnotemark\\\hline
\end{tabular}
}
\subtable[\label{tab:chapter4:1b}]{
\tiny
\centering
\begin{tabular}{|c|c|c|}\hline
g&h&i\\
j&k&l\\\hline
\end{tabular}
}
\subtable[\label{tab:chapter4:1c}]{
\tiny
\centering
\begin{tabular}{|c|c|c|}\hline
m&n&o\\
p&q&r\\\hline
\end{tabular}
}
\caption{Testing}\label{tab:chapter4:1}
\footnotetext{myfootnote}
\end{table}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\footnote is not working within a tabular environment
Best regards and a happy new year
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10