pagenote 包功能不完善,将“章节”放置在 Notes 中的非预期位置

pagenote 包功能不完善,将“章节”放置在 Notes 中的非预期位置

pagenote当使用带有以下 MWE 的包时,pdflatex 输出Kapitel在页面注释(Notes=Anmerkungen und Verweise)中包含一个(章节)文本,该文本似乎位于错误的位置并且无法通过\renewcommand*{\chaptername}{}...省略。

\documentclass[11pt,a4paper]{report}
\usepackage{ebgaramond-maths}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[continuous,page]{pagenote}
\makepagenote
\let\footnote=\pagenote
\newcommand*{\addtonotesnewcommand}[1]{\addtonotes{\large\vspace*{0.7\baselineskip}\protect\noindent\textsc{\vspace*{0.35\baselineskip} #1}}}
\renewcommand*{\notesname}{Anmerkungen und Verweise}
\renewcommand*{\chaptername}{}% This seems not to work correctly!
\renewcommand*{\thechapter}{}
\renewcommand{\thesection}{\arabic{section}}
\renewcommand*{\notedivision}{\section*{\notesname}}

\begin{document}

\section{Beginn einer Freundschaft}
\addtonotesnewcommand{\thesection. Beginn einer Freundschaft}

    A sentence with a footnote that becomes a pagenote.\footnote{Some text in a footnote/pagenote}
    
\clearpage
\printnotes

\end{document}

有谁有使用过 pagenote 包并且可以提出一些解决该任务的想法吗?

答案1

用户和开发人员 michal.h21 已在以下网址回答了该问题: https://tex.stackexchange.com/a/680395/292824

相关内容