为什么脚注不起作用

为什么脚注不起作用

这是无法显示脚注的部分代码。

\documentclass[12pt]{article}%
\usepackage{graphicx}
\usepackage{hyperref}%

\begin{document}
    Consequently, the three laws of equality\footnote{It seems that Huntington was
        the first to formalize the three laws of equality.} can also be deduced.
\begin{enumerate}
    \item 
    \begin{tabular}
        [t]{p{1.25in}l}%
        \textbf{Multiplication.} & $a\cdot b\,=\,a-\left(  1-b\right)$ \footnote{We can omit $\cdot$ and $a\cdot b\,=\,ab$.}
    \end{tabular}
\end{enumerate}
\end{document}

第一个脚注没问题,第二个脚注虽然有显示引用标记,但怎么也找不到,不知道是什么问题。

答案1

对于表格中的脚注,可以在表格外使用“与”对,如下所示\footnotemark\footnotetext{…}

\documentclass[12pt]{article}%
\usepackage{graphicx}
\usepackage{tablefootnote} 
\usepackage{hyperref}%

\begin{document}

    Consequently, the three laws of equality\footnote{It seems that Huntington was
        the first to formalize the three laws of equality.} can also be deduced.
\begin{enumerate}
    \item
    \begin{tabular}
        [t]{p{1.25in}l}%
        \textbf{Multiplication.} & $a\cdot b\,=\,a-\left( 1-b\right)$ \footnotemark
    \end{tabular}\footnotetext{We can omit $\cdot$ and $a\cdot b\,=\,ab$.}
\end{enumerate}

\end{document}

相关内容