![pagenote 包](https://linux22.com/image/430848/pagenote%20%E5%8C%85.png)
我想将注释章节的标题(由 \printnotes 创建)从
章节编号 到 章节标题
这对于 \chapter* 中的注释(没有 #chapternumber)特别有用
到目前为止我有:
\usepackage{pagenote}
\makepagenote
\renewcommand\thepagenote{\arabic{pagenote}}
\renewcommand{\notenumintext}[1]{% default setting: "\textsuperscript{#1}}"
\textsuperscript{\tiny\bfseries\color{black}#1}
}
\renewcommand{\notenuminnotes}[1]{% default setting: "{\normalfont #1.} }"
{\bfseries\color{black}#1}
}
\renewcommand*{\notedivision}{\chapter*{\notesname}}
\let\footnote\pagenote
感谢您的建议
工作示例:
\documentclass[12pt, twoside]{book}
\usepackage{pagenote}
\usepackage{xcolor}
\makepagenote
\renewcommand\thepagenote{\arabic{pagenote}}
\renewcommand{\notenumintext}[1]{% default setting: "\textsuperscript{#1}}"
\textsuperscript{\tiny\bfseries\color{black}#1}
}
\renewcommand{\notenuminnotes}[1]{% default setting: "{\normalfont #1.} }"
{\bfseries\color{black}#1}
}
\renewcommand*{\notedivision}{\chapter*{\notesname}}
%\renewcommand*{\pagenotesubhead}[2]{subhead}
\let\footnote\pagenote
\begin{document}
\chapter*{Introduction}
Bla bla\footnote{this is a footnote in the introduction}
\chapter{My first chapter}
Bla bla~\footnote{this is a footnote in chapter "My first chapter“}
\printnotes
\end{document}