我正在排版一份大型复杂文档,其中包含数万条脚注。其中一些注释内容丰富,而其他许多注释则非常简短。
所以我需要使用“每页”的脚注编号,该perpage
包可以很好地处理。
我还想将短注释放在一个段落中,这样比较方便,而较长的脚注则放在单独的段落中。 软件包bigfoot
很好\DeclareNewFootnote[para]{default}
地做到了这一点。
然而,我很难让这两种行为协同工作:当注释的段落正确时,它不会计算每页的脚注。
这是 MWE。
\documentclass{book}
\usepackage{perpage}
\usepackage{bigfoot}
\DeclareNewFootnote[para]{default}
\begin{document}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
\end{document}
答案1
解决方案是按照 Harish 建议的修改版本:
\usepackage[perpage]{footmisc}
\usepackage{bigfoot}
\AtBeginDocument{%
\RestyleFootnote{default}{para}}
我按照软件包作者的建议,使用了\AtBeginDocument
etc.,而不是原来的版本\DeclareNewFootnote[para]{default}
在对该包裹的评论中。然而就我的目的而言,两者都很好。
答案2
bigfoot
让其他包来处理自己能做好的事情并不是最好的主意:你总是要面临它们可能会干扰的风险bigfoot
。
footmisc
这些天可能会用到perpage
它自己,所以接受的答案可能会有效。
无论如何,您的问题似乎完全是自找的:您的 MWE 加载时perpage
实际上并没有做任何事情(perpage
仅提供更改计数器的功能,但不会触及任何现有计数器)。我认为该bigfoot.dtx
文件本身包含一些正确使用的最小示例perpage
。
由 LOCKSTEP 编辑:在 OP 的示例中,\MakePerPage{footnotedefault}
需要添加。
\documentclass{book}
\usepackage{perpage}
\usepackage{bigfoot}
\DeclareNewFootnote[para]{default}
\MakePerPage{footnotedefault}
\begin{document}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Short.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.} Here is some paragraph text.\footnote{Here is quite a long, really very quite long, long footnote. It's actually very long if you take the time to read the whole thing.}
\end{document}