fancyhdr 宏包 fancy 风格修改页眉大写格式
fancy 风格下,页眉格式默认为大写 \usepackage{fancyhdr} \pagestyle{fancy} 若要页眉为普通格式 有以下方法: 自定义 \chaptermark、\sectionmark \renewcommand{\chaptermark}[1]{\markboth{\c...
重置计数器后 hyperref 生成错误指向的 PDF 书签
描述 为了在不同 part 下使用不同章节标题格式,重置 chapter 计数器 \documentclass{book} \begin{document} \part{1} \chapter{1} \part{2} \setcounter{chapter}{0} \renewcommand{\th...