我想要两个脚注线程:
- 使用传统美国脚注符号(如 *†‡§¶‖)且每页重置计数器
- 在整个文档中使用连续(阿拉伯数字)编号的格式。
我还喜欢将脚注标记设置在页边距中,并留出较小的分隔空间。
让我们从一个简单的例子开始:
\documentclass{memoir}
\footmarkstyle{\textsuperscript{#1\ }} % to have an additional space after footnote marks (not easily possible with the footmisc package)
\setlength{\footmarkwidth}{-1sp} \setlength{\footmarksep}{0em} % same effect as \usepackage[flushmargin]{footmisc}
\counterwithout{footnote}{chapter} % continuous numbering of footnotes across chapters
\begin{document}
\chapter{Introduction}
This is dummy text.\footnote{This numeric footnote should be prefixed by the counter 1, as it currently is.}
\chapter{Document body}
This is dummy text.\footnote{This numeric footnote should be prefixed by the counter 2, as it currently is.}
This is dummy text.\footnote{I want this footnote to be introduced by the symbol \(^{*}\) and be placed above the previous footnote, even though it comes later in the text.}
\end{document}
基本上,最后一个脚注应该是符号性的,并且应该出现在数字脚注的上方;一般来说,在任何给定的页面上,一堆符号脚注应该出现在一堆数字脚注的上方,没有额外的垂直分离。
(如果有一种简单的方法来指定符号序列,那就更好了。)
有相关问题,但这一次的覆盖范围有所不同,而且更为棘手。
答案1
该软件包bigfoot
可以轻松实现这一点:
\documentclass{memoir}
\usepackage{bigfoot}
\DeclareNewFootnote{A}
\renewcommand{\thefootnoteA}{\fnsymbol{footnoteA}}
\MakePerPage{footnoteA}
\DeclareNewFootnote{B} % If we omitted this declaration (and used \footnote instead), that'd place the standard footnotes _above_ the \footnoteA ones.
\footmarkstyle{\textsuperscript{#1\ }} % to have an additional space after footnote marks (not easily possible with the footmisc package)
\setlength{\footmarkwidth}{-1sp} \setlength{\footmarksep}{0em} % same effect as \usepackage[flushmargin]{footmisc}
\counterwithout{footnote}{chapter} % continuous numbering of footnotes across chapters
\begin{document}
\chapter{Introduction}
This is dummy text.\footnoteB{This numeric footnote should be prefixed by the counter 1, as it currently is.}
\chapter{Document body}
This is dummy text.\footnoteB{This numeric footnote should be prefixed by the counter 2, as it currently is.}
This is dummy text.\footnoteA{I want this footnote to be introduced by the symbol \(^{*}\) and be placed above the previous footnote, even though it comes later in the text.}
\newpage
This is dummy text.\footnoteB{This numeric footnote should be prefixed by the counter 3, as it currently is.}
This is dummy text.\footnoteA{I want this footnote to be introduced by the symbol \(^{*}\) and be placed above the previous footnote, even though it comes later in the text.}
\end{document}
脚注在页面上出现的顺序基于其在序言中的声明。