回忆录中某一章节的页面注释没有文字标记,注释中也没有编号

回忆录中某一章节的页面注释没有文字标记,注释中也没有编号

我正在将一份文件转录到memoir课堂上,该文件有一个前言“章节”,其中包含一系列题词。每个题词在文本中都没有页码注释标记,但在后记注释部分,有一个未编号的参考文献列表,用于“题词”章节,每个引文都有一个参考文献。其他主要章节有正常的页码注释,文本中有数字标记,注释章节中有编号列表。我已经实现了\pagenote暂时不在文本中放置标记,但我如何才能在一个章节中实现未编号的参考文献列表\printpagenotes?下面是 MWE 和我的尝试。

\documentclass{memoir}
\usepackage{lipsum}
\makepagenote
\begin{document}
\frontmatter
\chapter{Epigraphs}
\let\orignotenumintext\notenumintext
\renewcommand*{\notenumintext}[1]{\relax} % don't print a page note mark
\lipsum[1]\pagenote{Cicero}\par
\lipsum[2]\pagenote{Augustus}
\let\notenumintext\orignotenumintext % restore original page note mark behavior
\mainmatter
\chapter{Body}
\lipsum[3-4]\pagenote{Caesar}
\backmatter
\printpagenotes
% results in:

% Notes
% Chapter 0 Epigraphs
% 1. Cicero
% 2. Augustus
% Chapter 1 Body
% 1. Caesar
\end{document}

在上面,我想删除和之前的和。1.我尝试覆盖然后恢复,就像我对所做的那样,但这并没有产生所需的行为。我猜可能直到实际排版注释章节时才会展开。2.CiceroAugustus\notenuminnotes\notenumintext\notenuminnotes

我还注意到memoir手册中有\addtonotes,但这个命令更底层,只会将一些文本放入文件中ent。所以如果你写,\addtonotes{Cicero}\addtonotes{Augustus}你甚至不会得到换行符。\pagenote如果可能的话,我想使用通常的架构,这样我就可以玩其他命令,比如\prenoteinnotes等。这可能吗?

答案1

尝试

\documentclass{memoir}
\usepackage{lipsum}
\makepagenote

\renewcommand{\idtextinnotes}[1]{}

\begin{document}
\frontmatter
\chapter{Epigraphs}
\lipsum[1]\pagenote[\relax]{Cicero}\par
\lipsum[2]\pagenote[\relax]{Augustus}
\mainmatter
\chapter{Body}
\lipsum[3-4]\pagenote{Caesar}
\backmatter
\printpagenotes

\end{document}

对于进一步的定制,也许这里的答案可以帮助:重新格式化回忆录中的尾注

memoir另请参阅文档中的“12.6.1 改变外观”部分。

相关内容