Files
ouc_latex_template/科技报告/cls/headandfoot.cls
T

22 lines
784 B
OpenEdge ABL
Raw Normal View History

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% head and foot
%% 页眉页脚
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% 页眉线当前保持中性黑(0.5pt 细线),不用彩色:
% 彩色页眉线会跟正文的海大蓝标题抢视觉层级。
% 若确实想上色,把下面 headrule 那行的注释打开,
% 颜色用 cls/color.cls 里的 oucrule(专银)或 oucprimary(海大蓝)。
%
\pagestyle{fancy}
\fancyhf{}
\renewcommand\headrulewidth{.5pt}
\renewcommand\footrulewidth{0pt}
%\futurelet\TMPheadrule\def\headrule{{\color{oucrule}\TMPheadrule}}
%\renewcommand{\sectionmark}[1]{\markright{#1}}
\fancyhead[C]{\fzkai{\themaintitle}}
%\fancyhead[C]{\@title}
%\fancyhead[R]{\thepage}
%\fancyfoot[L]{\fzkai{\@author}}
\fancyfoot[C]{\thepage}% / \pageref{LastPage}}