【发布时间】:2010-09-30 07:16:14
【问题描述】:
我想知道是否可以选择在我的文档中添加类似 \listoffootnotes 的内容,就像我可以使用 \listoffigures 或表格一样...
有人知道怎么做吗?
【问题讨论】:
-
为什么需要脚注列表?
-
为什么不呢?这取决于你如何使用它。我的脚注和围兜中有不同的信息。我只需要它们的列表和它们所在的页面。
我想知道是否可以选择在我的文档中添加类似 \listoffootnotes 的内容,就像我可以使用 \listoffigures 或表格一样...
有人知道怎么做吗?
【问题讨论】:
我尝试了这个例子,效果很好。这是我所做的:
\usepackage{tocloft}
%% Footnotes-Listing %%
\newcommand{\listfootnotesname}{List of Footnotes}% 'List of Footnotes' title
\newlistof[chapter]{footnotes}{fnt}{\listfootnotesname}% New 'List of...' for footnotes
\let\oldfootnote\footnote % Save the old \footnote{...} command
\renewcommand\footnote[1]{% Redefine the new footnote to also add 'List of Footnote' entries.
\refstepcounter{footnotes}% Add and step a reference to the footnote/counter.
\oldfootnote{#1}% Make a regular footnote.
\addcontentsline{fnt}{footnotes}{\protect
\numberline{\thefootnotes}#1}% Add the 'List of...' entry.
}
之后我可以使用命令\listoffootnotes:
tocloft-包是Texlive-Extra 的一部分。
【讨论】:
我还没有尝试过,但据我所知,使用 tocloft 包应该可以完成您需要的工作。有关创建自定义列表的更多详细信息,请参阅documentation 中的第 2.4 章。
Here is an example 了解如何完成。
【讨论】: