From 189c931099531bbe628d7c3ddd4b0a2cb94a092d Mon Sep 17 00:00:00 2001 From: ranwang Date: Tue, 21 Apr 2026 14:27:42 +0800 Subject: [PATCH] issue 256 --- elegantbook.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elegantbook.cls b/elegantbook.cls index 0f77e7d..0173635 100644 --- a/elegantbook.cls +++ b/elegantbook.cls @@ -1273,7 +1273,7 @@ % \renewcommand{\headrule}{} \fancypagestyle{plain}{\renewcommand{\headrulewidth}{0pt}\fancyhf{}\renewcommand{\headrule}{}} \renewcommand{\sectionmark}[1]{\markright{\thesection\, #1}{}} -\renewcommand{\chaptermark}[1]{\markboth{\xchaptertitle\, #1}{}} +\renewcommand{\chaptermark}[1]{\markboth{\IfAppendix{\appendixname\;\thechapter\, #1}{\xchaptertitle\, #1}}{}} \renewcommand*{\maketitle}{%