美文网首页
Latex图注中如何使用脚注

Latex图注中如何使用脚注

作者: DingDingYuan | 来源:发表于2021-10-20 14:08 被阅读0次

\caption{\footnote{This is a footnote}}
会出现报错:

Error: ! Argument of \@caption has an extra }.
Error: ! Paragraph ended before \@caption was complete.

这是因为floating object里面需要特殊处理footnote
解决方案为

\begin{figure}[ht!]
    \centering
    \includegraphics[width=0.4\textwidth]{fig.eps} 
    \caption{This caption \protect\footnotemark[5]  \label{this:figure} }
\end{figure}
\footnotetext[5]{Footnote text be placed here, right after}  

相关文章

网友评论

      本文标题:Latex图注中如何使用脚注

      本文链接:https://www.haomeiwen.com/subject/tbbzyctx.html