cls文件模块化

This commit is contained in:
2022-05-15 23:32:13 +08:00
parent 13f643ef3f
commit 782a35e500
19 changed files with 533 additions and 497 deletions
+14
View File
@@ -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}
+4 -14
View File
@@ -3,20 +3,10 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 页眉页脚
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\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}}
% \RequirePackage{fancyhdr}
% \RequirePackage{zhnumber}
% \RequirePackage{lastpage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 设置页面水印
+6
View File
@@ -2,4 +2,10 @@
\thispagestyle{empty}
\begin{center}
\tableofcontents
\newpage
\newcommand{\listoffiguresname}{插图目录}
\listoffigures
\newpage
\newcommand{\listoftablesname}{表格目录}
\listoftables
\end{center}