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}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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