每页重新编号的旁注

每页重新编号的旁注

我想使用按页重新编号的侧注。

对于脚注,我总是这样做\usepackage[perpage]{footmisc},但这对侧注不起作用。所以我尝试了这个:

\documentclass[10pt]{book}
\usepackage{geometry}

\usepackage[utf8]{inputenc}
\usepackage[latin]{babel}
\usepackage{sidenotes}
\usepackage{blindtext}
\usepackage{perpage}

\setlength{\marginparwidth}{2cm}
\MakePerPage{sidenote}

\begin{document}

    \chapter{Hello}

    \blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}

    \chapter{Hi}

    \blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}\blindtext\sidenote{hello}

\end{document}

但是,这种方法行不通,因为重新编号实际上不是按页进行,而是每次都从中间某个地方进行。有没有什么方法可以让它工作?

不使用每页是不可能的,因为书末的数字会达到数千。

相关内容