LaTeX中的脚注列表

4
我在想是否有办法像使用\listoffigures或tables一样,在我的文档中添加类似\listoffootnotes的选项... 有人知道怎么做吗?

你为什么想要一个脚注列表? - Seamus
为什么不呢?这取决于您如何使用它。我的脚注和参考文献中有不同的信息。我只需要它们的列表和所在的页面。 - legami
2个回答

2

我尝试了这个例子,它运行得非常好。这是我的操作步骤:

\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

enter image description here

tocloft包是Texlive-Extra的一部分。


0

我没有尝试过这个,但根据我的了解,使用tocloft包应该可以实现您需要的内容。请参阅文档中第2.4章有关创建自定义列表的更多详细信息。

这里是一个示例,展示了如何完成这个操作。


我有这个包,但是例子对我不起作用。我试图将其添加到我的代码中,但是还是不行:/ 但这正是我需要的!! - legami
你介意分享一下哪里出了问题吗?也许我们可以找到答案。 - Kai Sternad
我的意思是这个包并没有做它应该做的事情。我不知道问题出在哪里,因为我有这个包,只是复制/粘贴。 - legami

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接