cls文件模块化
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user