LaTeX Footnotes numbered “per page”

编程入门 行业动态 更新时间:2024-10-06 01:40:56

LaTeX <a href=https://www.elefans.com/category/jswz/34/1331433.html style=Footnotes numbered “per page”"/>

LaTeX Footnotes numbered “per page”

Footnotes numbered “per page”

The obvious solution is to make the footnote number reset whenever the page number is stepped, using the LaTeX internal mechanism. Sadly, the place in the document where the page number is stepped is unpredictable, not (“tidily”) at the end of the printed page; so changing the footnote number only ever works by ‘luck’.

As a result, resetting footnotes is inevitably a complicated process, using labels of some sort. It’s nevertheless important, given the common requirement for footnotes marked by symbols (with painfully small symbol sets). There are four packages that manage it, one way or another.

The perpage and zref-perpage packages provide a general mechanism for resetting counters per page, so can obviously be used for this task. The interface is pretty simple: \MakePerPage{footnote} (in perpage) or \zmakeperpage{footnote} (in zref-perpage). If you want to restart the counter at something other than 1 (for example to avoid something in the LaTeX footnote symbol list), you can use: \MakePerPage[2]{footnote} (in perpage) or \zmakeperpage[2]{footnote} (in zref-perpage). Note that you can also load zref-perpage

Perpage is a compact and efficient package; zref-perpage, being a zref “module”, comes with zref’s general mechanism for extending the the \label—[page]ref of LaTeX, which can offer many other useful facilities.

The footmisc package provides a variety of means of controlling footnote appearance, among them a package option perpage that adjusts the numbering per page; if you’re doing something else odd about footnotes, it means you may only need the one package to achieve your ends.

The footnpag package also does per-page footnotes (and nothing else). With the competition from perpage, it’s probably not particularly useful any more.

footmisc.sty
macros/latex/contrib/footmisc (or browse the directory); catalogue entry
footnpag.sty
macros/latex/contrib/footnpag (or browse the directory); catalogue entry
perpage.sty
Distributed as part macros/latex/contrib/bigfoot (or browse the directory); catalogue entry
zref-perpage.sty
Distributed as part of zref in macros/latex/contrib/oberdiek (or browse the directory); catalogue entry
This question on the Web: =footnpp

更多推荐

LaTeX Footnotes numbered “per page”

本文发布于:2024-03-12 09:41:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1731227.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Footnotes   LaTeX   page   numbered

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!