scu_thesis_2020
scu_thesis_2020 copied to clipboard
[Issue] 请问如何设置偶数页为"四川大学博士学位论文",奇数页为当前章节名
您好!
我解决了这个问题.
把
\newcommand{\makefancyhf}[1]{
\fancypagestyle{plain}{\pagestyle{fancy}}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0.8pt}
\fancyhead[CE]{\zihao{-5}\songti
% The chapter title for even page
\@title
%四川大学博士学位论文
}
\renewcommand{\headrulewidth}{0.8pt}
\fancyhead[CO]{\zihao{-5}\songti
% The chapter title for odd page
#1
%\leftmark
%四川大学博士学位论文
}
\fancyfoot[CO,CE]{\zihao{-5}\thepage}
}
改成
\newcommand{\makefancyhf}[1]{
\fancypagestyle{plain}{\pagestyle{fancy}}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0.8pt}
\fancyhead[CE]{\zihao{-5}\songti
% The chapter title for even page
%\@title
四川大学博士学位论文
}
\renewcommand{\headrulewidth}{0.8pt}
\fancyhead[CO]{\zihao{-5}\songti
% The chapter title for odd page
%#1
\leftmark
%四川大学博士学位论文
}
\fancyfoot[CO,CE]{\zihao{-5}\thepage}
}
就好了.