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
+54
View File
@@ -0,0 +1,54 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% \renewcommand\abstractname{Summary}
%%\renewenvironment{abstract}{\noindent\rule{\textwidth}{.5pt}\\[2ex] \centering\begin{minipage}{.97\textwidth}{\zihao{-4}\sffamily\bfseries \centering{\abstractname}}\\}
%%{\par\noindent\end{minipage}\\[2ex] \rule{\textwidth}{.5pt}}
% \renewenvironment{abstract}{\noindent\rule{\textwidth}{.5pt}\\[2ex] \centering\begin{minipage}{.97\textwidth}\begin{center}{\zihao{-4}\sffamily\bfseries \abstractname} \\ \end{center}}
% {\par\end{minipage}\\[2ex] \noindent\rule{\textwidth}{.5pt}}
%
\titlecontents{section}[3.8em]%
{\zihao{-4}}%\fzss \vspace{3pt}}%
{\contentslabel{2em}}
{}%\hspace*{-4em}}
{~\titlerule*[0.25pc]{$.$}~\contentspage\hspace*{1cm}}%1cm
\titlecontents{subsection}[3.8em]%
{\zihao{-4}}%\fzss \vspace{3pt}}%
{\contentslabel{2em}}
{}%\hspace*{-4em}}
{~\titlerule*[0.25pc]{$.$}~\contentspage\hspace*{1cm}}%1cm
\titlecontents{subsubsection}[3.8em]%
{\zihao{-4}}%\fzss \vspace{3pt}}%
{\contentslabel{2em}}
{}%\hspace*{-4em}}
{~\titlerule*[0.25pc]{$.$}~\contentspage\hspace*{1cm}}%1cm
%% section
\titleformat{\section}
[hang]
{\sffamily}
{\zihao{-3}\bfseries\thesection.}
{1pt}
{\zihao{-3}\bfseries\filcenter}
%% subsection
\titleformat{\subsection}
[hang]
{\sffamily}
{\zihao{4}\bfseries\thesubsection}
{1pt}
{\zihao{4}\bfseries\filright}
%% subsubsection
\titleformat{\subsubsection}
[hang]
{\sffamily}
{\zihao{-4}\bfseries\thesubsubsection}
{1pt}
{\zihao{-4}\bfseries\filright}