所有模板目录改为中文名,并入幻灯片与科技报告两个仓库(#3)
目录改名(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,重新编译会让结尾页装饰层定位 产生细微偏移,保留原版以保证样张与原来完全一致。
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
\newpage
|
||||
\thispagestyle{empty}
|
||||
\begin{center}
|
||||
{\hm\bfseries \zihao{3} \themaintitle}%摘要页面的标题
|
||||
\end{center}
|
||||
|
||||
\renewcommand{\abstractname}{\hm\bfseries{\zihao{4}摘要}}
|
||||
|
||||
\begin{abstract}
|
||||
这是一个很好用的Latex模板,经过不断的修改和迭代进化。这里,就介绍一下这个模板的使用方法,希望对你有所帮助。
|
||||
|
||||
\vspace{2ex}
|
||||
\noindent{\textbf{关键词:}Latex,\hspace{.5em}模板,\hspace{.5em}学习}%关键词不缩进
|
||||
\end{abstract}
|
||||
@@ -0,0 +1,65 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% 封面页面
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\begin{titlepage}
|
||||
\centering % 居中显示
|
||||
\scshape %
|
||||
\vspace*{\baselineskip} % 顶部空白
|
||||
%------------------------------------------------
|
||||
% 标题
|
||||
%------------------------------------------------
|
||||
|
||||
\rule{\textwidth}{1.6pt}\vspace*{-\baselineskip}\vspace*{2pt} % 上面粗的线
|
||||
\rule{\textwidth}{0.4pt} % 细线
|
||||
|
||||
\vspace{30pt} % 和标题之间的空白
|
||||
|
||||
{\hm\bfseries \zihao{2} \themaintitle} % 标题
|
||||
|
||||
\vspace{0.75\baselineskip} % 标题下面的空白
|
||||
|
||||
\rule{\textwidth}{0.4pt}\vspace*{-\baselineskip}\vspace{3.2pt} % 细线
|
||||
\rule{\textwidth}{1.6pt} % 粗线
|
||||
|
||||
\vspace{2\baselineskip} % 标题后的空白
|
||||
|
||||
%------------------------------------------------
|
||||
% 副标题
|
||||
%------------------------------------------------
|
||||
|
||||
{\hm \zihao{3} \thesubtitle} % 副标题
|
||||
|
||||
\vspace*{3\baselineskip} % 空白
|
||||
|
||||
%------------------------------------------------
|
||||
% 作者信息
|
||||
%------------------------------------------------
|
||||
|
||||
作者
|
||||
|
||||
\vspace{0.5\baselineskip} % 作者前空白
|
||||
|
||||
{\scshape\Large \theauthor } % 作者列表
|
||||
|
||||
\vspace{0.5\baselineskip} % 空白
|
||||
|
||||
\fzkai{\theaffiliation} \\% 作者单位
|
||||
%\vspace*{3\baselineskip}
|
||||
\fzkai{\thedept}
|
||||
|
||||
\vfill % 空白
|
||||
|
||||
%------------------------------------------------
|
||||
% 出版社或单位
|
||||
%------------------------------------------------
|
||||
|
||||
%\plogo % Publisher logo
|
||||
|
||||
\vspace{0.3\baselineskip} % 空白
|
||||
|
||||
%2017 % Publication year
|
||||
|
||||
{\large \thedate} % 日期
|
||||
|
||||
\end{titlepage}
|
||||
@@ -0,0 +1,10 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% 标题和作者等基本信息
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\newcommand{\themaintitle}{这是一个很好用的LaTex模板} %标题
|
||||
\newcommand{\thesubtitle}{这里是副标题} %副标题
|
||||
\newcommand{\theauthor}{作者名字}%作者名字
|
||||
\newcommand{\thedate}{\today}%时间
|
||||
\newcommand{\theaffiliation}{中国海洋大学}%工作单位
|
||||
\newcommand{\thedept}{计算机科学与技术学院}%部门
|
||||
@@ -0,0 +1,18 @@
|
||||
%整体设置
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% 页眉页脚
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% \RequirePackage{fancyhdr}
|
||||
% \RequirePackage{zhnumber}
|
||||
% \RequirePackage{lastpage}
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% 设置页面水印
|
||||
% \usepackage[firstpage]{draftwatermark} % 只有第一页加水印
|
||||
\SetWatermarkText{\theaffiliation\thedept} % 设置水印文字内容
|
||||
% \SetWatermarkText{\includegraphics{fig/ZJDX-WaterMark.eps}} % 设置水印LOGO
|
||||
\SetWatermarkLightness{0.95} % 设置水印透明度 0-1
|
||||
\SetWatermarkScale{0.2} % 设置水印大小 0-1
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
@@ -0,0 +1,17 @@
|
||||
%目录页面
|
||||
\newpage
|
||||
\thispagestyle{empty}
|
||||
%\clearpage
|
||||
\tableofcontents
|
||||
|
||||
%插图目录页面
|
||||
\newpage
|
||||
\thispagestyle{empty}
|
||||
%\clearpage
|
||||
\listoffigures
|
||||
|
||||
%表格目录页面
|
||||
\newpage
|
||||
%\clearpage
|
||||
\thispagestyle{empty}
|
||||
\listoftables
|
||||
Reference in New Issue
Block a user