使用 endnotes.sty 修复页眉

使用 endnotes.sty 修复页眉

我的标签如下:

\documentclass[twoside]{book}
\usepackage{endnotes}%
\let\footnote\endnote%

\usepackage{endheads}

\begin{document}

\def\enoteheading{\section*{\notesname}}

\def\enotesize{\normalsize}%
\def\enoteformat{%
\parskip=9pt
\ignorespaces\leavevmode{\makeenmark}\ignorespaces\ \ignorespaces%
}%%

Test\label{endnote1}\footnote{Endnote 1}
Any project\footnote{Endnote 2} that has gestated as long as this one
must, of necessity, also accrue enormous debts to mentors, collaborators, inspirators, students, and friends who have contributed to our thinking and our work. Principal among them are.\footnote{Endnote 3}

XYZ took on the role\footnote{Endnote 4} of an {amicus curiae} for the first draft of this,
going thorough our text in thoughtful detail\footnote{Endnote 5} and
improving both what was presented and the clarity of the presentation. We have not words enough to thank him.\footnote{Endnote 6}

Test\footnote{Endnote 7}
Any project\footnote{Endnote 8} that has gestated as long as this one
must, of necessity, also accrue enormous debts to mentors,
collaborators, inspirators, students, and friends who have
contributed to our thinking and our work. Principal among them are.\footnote{Endnote 9}

XYZ took on the role\footnote{Endnote 10} of an {amicus curiae} for the first draft of this,
going thorough our text in thoughtful detail\footnote{Endnote 11} and
improving both what was presented and the clarity of the
presentation. We have not words enough to thank him.\footnote{Endnote
12}

Test\footnote{Endnote 13}
Any project\footnote{Endnote 14} that has gestated as long as this one
must, of necessity, also accrue enormous debts to mentors,
collaborators, inspirators, students, and friends who have
contributed to our thinking and our work. Principal among them
are.\footnote{Endnote 15}

XYZ took on the role\footnote{Endnote 16} of an {amicus curiae} for the first draft of this,
going thorough our text in thoughtful detail\footnote{Endnote 17} and
improving both what was presented and the clarity of the
presentation. We have not words enough to thank him.\footnote{Endnote
18}

\clearpage

Test\footnote{Endnote 19}
Any project\footnote{Endnote 20} that has gestated as long as this one
must, of necessity, also accrue enormous debts to mentors,
collaborators, inspirators, students, and friends who have
contributed to our thinking and our work. Principal among them
are.\footnote{Endnote 21}

XYZ took on the role\footnote{Endnote 22} of an {amicus curiae} for the first draft of this,
going thorough our text in thoughtful detail\footnote{Endnote 23} and
improving both what was presented and the clarity of the
presentation. We have not words enough to thank him.\footnote{Endnote
24}

Test\footnote{Endnote 25}
Any project\footnote{Endnote 26} that has gestated as long as this one
must, of necessity, also accrue enormous debts to mentors,
collaborators, inspirators, students, and friends who have
contributed to our thinking and our work. Principal among them
are.\label{endnote27}\footnote{Endnote 27}


\clearpage

\theendnotes

\end{document}

我发现这endheads.sty确实有效,但如果我使用该包,就会出现一些错误,有人可以告诉我我犯了什么错误吗?拜托...

答案1

还是不确定你最终想要什么。

尝试不使用该endheads包,然后在文档末尾:

\clearpage
\markboth{Notes to Pages 000-000}{Notes to Pages 000-000}
\theendnotes
\end{document}

这会将“第 000-000 页的注释”放在正面和反面页面的标题中。如果您希望在页面顶部两次显示“注释...”,请适当使用 fancyhdr` 包宏。

PS. 该endheads包需要一些其他包来完成其工作,而您并没有调用它们。

相关内容