每章第一页的页脚未加粗,但应该加粗。其他页脚均加粗。
\usepackage{fancyhdr}
\setlength{\headheight}{40pt}
\setlength{\parindent}{0pt}
\makeatletter
\setlength{\@fptop}{0pt}
\makeatother
\renewcommand{\topfraction}{1.0}
\renewcommand{\bottomfraction}{1.0}
\renewcommand{\textfraction}{0.0}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{#1}}
\clubpenalty = 10000
\widowpenalty = 10000
\displaywidowpenalty = 10000
\fancyhf{}
\fancyhead[EL]{\textsc{\leftmark}}
\fancyhead[OR]{\textsc{\rightmark}}
\fancyhead[ER]{}
\fancyhead[OL]{}
\rfoot{}
\lfoot{}
\cfoot{\bf \thepage}
答案1
将此添加到您的序言中:
\fancypagestyle{plain}{%
\fancyhf{} %
\fancyfoot[C]{\textbf{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}%