使用 \footnotemark / \footnotetext 技巧对 \caption 中的 \footnote 进行删除脚注编号

使用 \footnotemark / \footnotetext 技巧对 \caption 中的 \footnote 进行删除脚注编号

我遇到了一个问题,在\caption一个figure。幸运的是,这个答案 (在图的 \caption 中使用 \footnote)给出了解决方案。

我的代码如下:

\begin{figure}
  \begin{minipage}{\textwidth}
  \includegraphics[width=0.5\textwidth]{ReportMenu}
  \caption[The report submenu]{Each of the pre-defined reports appear as a menu item in the \textbf{Reporting} submenu.  Some installations have custom reports made special by Innovative for them, and only appears on installations that request it.  ``Report queue'' is the only item not a report,\footnotemark{} while ``Fleet statistics'' is a special report for fleet handling and only available for installations with the fleet module.  In this example, all available (at writing) custom reports appear, none of which have been translated into English as they are designed for Danish and Norwegian installations.  These custom reports will not appear on new installations.}
  \footnotetext{Since iv2.9e, another item for report scheduling has appeared underneath the report queue and is also not a report.}
  \label{fig:menu}
  \end{minipage}
\end{figure}

得出以下结果:

打印结果图片

您会注意到,虽然5出现了内联注释(在文档的这一点上这是正确的),但脚注本身并没有出现。

如何让数字(重新)出现在脚注本身上,而无需手动强制执行?我感觉我错过了一些明显的东西。

答案1

放在环境\footnotetext{...}后面figure

在此处输入图片描述

SCfigure编辑:我还研究了与一起使用的情况minipage。这里\parbox用的是而不是minipage虽然。希望这可以作为一个开始。

在此处输入图片描述

代码

\documentclass[]{article}
\usepackage[margin=1cm]{geometry}
\usepackage[demo]{graphicx}
\usepackage{sidecap}

\begin{document}

\begin{SCfigure}
%\begin{minipage}{\textwidth}
\includegraphics[width=0.6\textwidth]{ReportMenu}
\parbox[t]{0.3\textwidth}{
 \caption[The report submenu]{Each of the pre-defined reports appear as a menu item in the \textbf{Reporting} submenu.  Some installations have custom reports made special by Innovative for them, and only appears on installations that request it.  ``Report queue'' is the only item not a report,\footnotemark{} while ``Fleet statistics'' is a special report for fleet handling and only available for installations with the fleet module.  In this example, all available (at writing) custom reports appear, none of which have been translated into English as they are designed for Danish and Norwegian installations.  These custom reports will not appear on new installations.}
 \label{fig:menu}}
%\end{minipage}
\end{SCfigure}
\footnotetext{Since iv2.9e, another item for report scheduling has appeared underneath the report queue and is also not a report.}
\end{document}

答案2

另一种最简单的方法是将所需的数字与脚注文本一起写入脚注内:类似于\footnotetext{$^{number}$ your usual footnote text.}。最终数字将与典型的脚注数字偏移几毫米。如果不想处理可能对整个作品的其他部分产生影响的其他命令和序言定义,那么绝对值得考虑……最糟糕的是,这些影响可能无法被发现。

相关内容