目录改名(git mv 保留历史,包名不变): exam/ -> 试卷/ form/ -> 年度考核登记表/ form2/ -> 劳务发放说明表/ course/ -> 课程执行大纲/ 改名即可编译:实测 6 个模板在含中文的目录下 XeLaTeX 均零报错, PDF 逐页文本与改名前的版本完全一致(0 页差异,仅元数据时间戳变化)。 并入两个此前独立维护的仓库: ouc-slide-latex-template -> 幻灯片/ ouc-report-latex-template -> 科技报告/ 带入了 theme/ fonts/ logos/ figs/ cls/ input/ 与 fontawesome.pdf, 字体随模板附带(无须在系统安装)。中间文件一律不入库。 同步修正的文档:根 README 目录表改为中文名并说明统一维护; 四个子 README 的标题;ouclw.sty 注释里对 form/ 的交叉引用; 幻灯片与科技报告 README 里「从旧仓库 clone」「按年份切分支」等已失效的说明 (并入后只有 main 一个分支,各年份 TeX Live 通用)。 两个迁入模板的 PDF 保留源仓库原版(逐字节一致),未重新编译: 源 PDF 出自 TeX Live 2026,本机为 2022,重新编译会让结尾页装饰层定位 产生细微偏移,保留原版以保证样张与原来完全一致。
32 lines
896 B
OpenEdge ABL
32 lines
896 B
OpenEdge ABL
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% head and foot
|
|
%% 页眉页脚
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
% \RequirePackage{fancyhdr}
|
|
% \RequirePackage{zhnumber}
|
|
|
|
% \pagestyle{fancy}
|
|
% \fancyhf{}
|
|
% \renewcommand\headrulewidth{.5pt}
|
|
% \renewcommand\footrulewidth{0pt}
|
|
% %\futurelet\TMPheadrule\def\headrule{{\color{violet}\TMPheadrule}}
|
|
|
|
% \renewcommand{\sectionmark}[1]{\markright{#1}}
|
|
|
|
% \fancyhead[C]{\fzkai{\rightmark}}
|
|
% %\fancyhead[R]{\thepage}
|
|
|
|
% \fancyfoot[L]{\fzkai{\author}}
|
|
% \fancyfoot[R]{\thepage}
|
|
|
|
\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}} |