fancyhdr 宏包 fancy 风格修改页眉大写格式
LaTeX 67 1 min
本文发布于 1054 天前,其中的信息可能已经天翻地覆

fancy 风格下,页眉格式默认为大写

\usepackage{fancyhdr}
\pagestyle{fancy}

image

若要页眉为普通格式

image

有以下方法:

  1. 自定义 \chaptermark\sectionmark

    \renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter\ #1}{}}  % 英文标题适用
    \renewcommand{\chaptermark}[1]{\markboth{\CTEXthechapter\enspace #1}{}}  % 中文标题适用
    \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
  2. 通过 \renewcommand{\MakeUppercase}[1]{#1} 使 fancyhdr 中定义的 \MakeUppercase 无效果。

fancyhdr 宏包 fancy 风格修改页眉大写格式
https://blog.liks.space/archives/fancyhdr-fancy-style/
作者
Liks
发布于
许可