28 lines
1.1 KiB
TeX
28 lines
1.1 KiB
TeX
%整体设置
|
|||
|
|
|
||
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
|
%% 页眉页脚
|
||
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
|
\RequirePackage{fancyhdr}
|
||
|
|
\RequirePackage{zhnumber}
|
||
|
|
\RequirePackage{lastpage}
|
||
|
|
\pagestyle{fancy}
|
||
|
|
\fancyhf{}
|
||
|
|
\renewcommand\headrulewidth{.5pt}
|
||
|
|
\renewcommand\footrulewidth{0pt}
|
||
|
|
%\futurelet\TMPheadrule\def\headrule{{\color{violet}\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}}
|
||
|
|
|
||
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
|
% 设置页面水印
|
||
|
|
% \usepackage[firstpage]{draftwatermark} % 只有第一页加水印
|
||
|
|
\SetWatermarkText{\theaffiliation\thedept} % 设置水印文字内容
|
||
|
|
% \SetWatermarkText{\includegraphics{fig/ZJDX-WaterMark.eps}} % 设置水印LOGO
|
||
|
|
\SetWatermarkLightness{0.95} % 设置水印透明度 0-1
|
||
|
|
\SetWatermarkScale{0.2} % 设置水印大小 0-1
|
||
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|