├── .github └── ISSUE_TEMPLATE │ └── bug_report.md ├── .gitignore ├── 1.png ├── README.md ├── demo.tex ├── whut.jpg └── whutmod.cls /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **Minimum Working Example** 14 | A minimum example code that can reproduce the behavior. 15 | The overall code should generally not exceed 10 lines. 16 | 17 | **Expected behavior** 18 | A clear and concise description of what you expected to happen. 19 | 20 | **Screenshots** 21 | If applicable, add screenshots to help explain your problem. 22 | 23 | **Platform (please complete the following information):** 24 | - OS: [e.g. Windows 10] 25 | - TeX Distribution [e.g. TeX Live 2019, MiKTeX] 26 | - Editor [e.g. Texmaker, WinEdt] 27 | 28 | **Additional context** 29 | Add any other context about the problem here. 30 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## vim 2 | [._]*.s[a-v][a-z] 3 | [._]*.sw[a-p] 4 | [._]s[a-rt-v][a-z] 5 | [._]ss[a-gi-z] 6 | [._]sw[a-p] 7 | 8 | ## latex/pdflatex auxiliary files: 9 | *.aux 10 | *.lof 11 | *.log 12 | *.lol 13 | *.lot 14 | *.fls 15 | *.out 16 | *.toc 17 | *.fmt 18 | *.fot 19 | *.cb 20 | *.cb2 21 | .*.lb 22 | *.synctex.gz 23 | *.bbl 24 | *.pdf 25 | 26 | # Bibliography auxiliary files (bibtex/biblatex/biber): 27 | *.bbl 28 | *.bcf 29 | *.blg 30 | *-blx.aux 31 | *-blx.bib 32 | *.run.xml 33 | 34 | # Build tool auxiliary files: 35 | *.fdb_latexmk 36 | *.synctex 37 | *.synctex(busy) 38 | *.synctex.gz 39 | *.synctex.gz(busy) 40 | *.pdfsync 41 | 42 | -------------------------------------------------------------------------------- /1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangyxi/whutmod/c9e2abe29b5f6d657c5e90bef2bcf012657b9a25/1.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 武汉理工大学数学建模培训LaTeX模板 2 | 3 | whutmod 是为武汉理工大学数学建模培训编写的LaTeX 模板, 旨在让大家专注于论文的内容写作, 而不用花费过多精力在格式的定制和调整上。本手册是相应的参考, 其中提供了一些环境和命令可以让模板的使用更为方便。同时需要注意,使用者需要有一定的LaTeX 使用经验, 至少要会使用常用宏包的一些功能, 比如参考文献,数学公式,图片使用,列表环境等等。示例文档请参看 [demo.pdf](https://github.com/huangyxi/whutmod/releases/latest/download/demo.pdf) ,对应文档源代码请参见 [demo.tex](https://github.com/huangyxi/whutmod/blob/master/demo.tex) 。 4 | 5 | - 编译要求:XeLaTeX 6 | - 编译环境:TeX Live / MacTeX 2024 7 | 8 | 本模板根据2018年培训论文格式规范,结合全国大学生数学建模竞赛论文格式规范编写,首次发布于2018年7月30日。 9 | 10 | 本模板的诞生离不开一大批优秀的LaTeX 先辈以及优秀的文档类、宏包以及模板,在此特别致谢 [latexstudio](https://github.com/latexstudio "GitHub: latexstudio") 及其维护的国赛模板,以及校苑数模维护的美赛模板。 11 | 12 | 13 | 注: 14 | 本模板为武汉理工大学数学建模培训模板,如需毕业设计(论文)模板请参见 [WHUT-Bachelor](https://github.com/huangyxi/WHUT-Bachelor "GitHub: 武汉理工大学本科生毕业设计(论文) LaTeX 模板")。 15 | 16 | 如果您对本模板的各方面有意见或建议,欢迎 [提出 issue](https://github.com/huangyxi/whutmod/issues/new/choose "New issue"),或 [提出 PR](https://github.com/huangyxi/whutmod/compare "New pull request")。 17 | -------------------------------------------------------------------------------- /demo.tex: -------------------------------------------------------------------------------- 1 | \documentclass{whutmod} 2 | \usepackage{metalogo} 3 | \team{0} % 组号 4 | \membera{组员A} 5 | \joba{编程} 6 | \memberb{组员B} 7 | \jobb{建模} 8 | \memberc{组员C} 9 | \jobc{建模} 10 | 11 | \title{武汉理工大学数学建模培训\LaTeX 模板} 12 | \tihao{0} % 题号 13 | 14 | \begin{document} 15 | 16 | \maketitle 17 | 18 | \begin{abstract} 19 | whutmod 是为武汉理工大学数学建模培训编写的\LaTeX 模板, 旨在让大家专注于论文的内容写作, 而不用花费过多精力在格式的定制和调整上。本手册是相应的参考, 其中提供了一些环境和命令可以让模板的使用更为方便。同时需要注意,使用者需要有一定的\LaTeX 的使用经验, 至少要会使用常用宏包的一些功能, 比如参考文献,数学公式,图片使用,列表环境等等。示例文件请参看demo.pdf。 20 | 21 | 编译要求:\XeLaTeX 22 | 23 | 编译环境:\TeX Live 2019 24 | 25 | 本模板根据2018年培训论文格式规范,结合全国大学生数学建模竞赛论文格式规范编写,首次发布于2018年7月30日。 26 | 本模板的诞生离不开一大批优秀的\LaTeX 先辈以及优秀的文档类、宏包以及模板,在此特别致谢 latexstudio及其维护的国赛模板,以及校苑数模维护的美赛模板。 27 | 28 | \keywords{ 29 | \LaTeX \quad 30 | 数学建模 \quad 31 | } 32 | \end{abstract} 33 | 34 | \tableofcontents 35 | \newpage 36 | 37 | \section{问题重述} 38 | 39 | 创意平板折叠桌注重于表达木制品的优雅和设计师所想要强调的自动化与功能性。为了增大有效使用面积。设计师以长方形木板的宽为直径截取了一个圆形作为桌面,又将木板剩余的面积切割成了若干个长短不一的木条,每根木条的长度为平板宽到圆上一点的距离,分别用两根钢筋贯穿两侧的木条,使用者只需提起木板的两侧,便可以在重力的作用下达到自动升起的效果,相互对称的木条宛如下垂的桌布,精密的制作工艺配以质朴的木材,让这件工艺品看起来就像是工业革命时期的机器。 40 | 41 | \subsection{问题的提出} 42 | 43 | 围绕创意平板折叠桌的动态变化过程、设计加工参数,本文依次提出如下问题: 44 | 45 | (1)给定长方形平板尺寸 ($120 cm \times 50 cm \times 3 cm$),每根木条宽度(2.5 cm),连接桌腿木条的钢筋的位置,折叠后桌子的高度(53 cm)。要求建立模型描述此折叠桌的动态变化过程,并在此基础上给出此折叠桌的设计加工参数和桌脚边缘线的数学描述。 46 | 47 | (2)...... 48 | 49 | 50 | \section{模型的假设} 51 | 52 | \begin{itemize} 53 | \item 忽略实际加工误差对设计的影响; 54 | \item 木条与圆桌面之间的交接处缝隙较小,可忽略; 55 | \item 钢筋强度足够大,不弯曲; 56 | \item 假设地面平整。 57 | \end{itemize} 58 | 59 | \section{符号说明} 60 | \begin{center} 61 | \begin{tabular}{cc} 62 | \hline 63 | \makebox[0.3\textwidth][c]{符号} & \makebox[0.4\textwidth][c]{意义} \\ \hline 64 | D & 木条宽度(cm) \\ \hline 65 | L & 木板长度(cm) \\ \hline 66 | W & 木板宽度(cm) \\ \hline 67 | N & 第n根木条 \\ \hline 68 | T & 木条根数 \\ \hline 69 | \end{tabular} 70 | \end{center} 71 | 72 | \section{问题分析} 73 | 74 | \subsection{问题一分析} 75 | 题目要求建立模型描述折叠桌的动态变化图,由于在折叠时用力大小的不同,我们不能描述在某一时刻折叠桌的具体形态,但我们可以用每根木条的角度变化来描述折叠桌的动态变化。插入参考文献\cite{bib:one}。 76 | 77 | 问题流程图: 78 | \begin{figure}[!h] 79 | \centering 80 | \includegraphics[width=.6\textwidth]{1.png} 81 | \caption{问题三流程图} 82 | \end{figure} 83 | 84 | \section{绘制普通三线表格} 85 | 表格应具有三线表格式,因此常用 booktabs宏包,其标准格式如表~\ref{tab001}~所示。 86 | \begin{table}[!htbp] 87 | \caption{标准三线表格}\label{tab001} \centering 88 | \begin{tabular}{ccccc} 89 | \toprule[1.5pt] 90 | $D$(in) & $P_u$(lbs) & $u_u$(in) & $\beta$ & $G_f$(psi.in)\\ 91 | \midrule[1pt] 92 | 5 & 269.8 & 0.000674 & 1.79 & 0.04089\\ 93 | 10 & 421.0 & 0.001035 & 3.59 & 0.04089\\ 94 | 20 & 640.2 & 0.001565 & 7.18 & 0.04089\\ 95 | \bottomrule[1.5pt] 96 | \end{tabular} 97 | \end{table} 98 | 99 | %参考文献 100 | \begin{thebibliography}{9}%宽度9 101 | \bibitem{bib:one} GAO L, GONDA I, SUN H, et al. The Tomato Pan-Genome Uncovers New Genes and a Rare Allele Regulating Fruit Flavor[J]. Nature Genetics, 2019:1. 102 | \bibitem{bib:two} .... 103 | \end{thebibliography} 104 | 105 | \appendix %%附录 106 | \section{代码} 107 | \subsection{排队算法--matlab 源程序} 108 | \begin{lstlisting}[language=matlab] 109 | kk=2;[mdd,ndd]=size(dd); 110 | while ~isempty(V) 111 | [tmpd,j]=min(W(i,V));tmpj=V(j); 112 | for k=2:ndd 113 | [tmp1,jj]=min(dd(1,k)+W(dd(2,k),V)); 114 | tmp2=V(jj);tt(k-1,:)=[tmp1,tmp2,jj]; 115 | end 116 | tmp=[tmpd,tmpj,j;tt];[tmp3,tmp4]=min(tmp(:,1)); 117 | if tmp3==tmpd, ss(1:2,kk)=[i;tmp(tmp4,2)]; 118 | else,tmp5=find(ss(:,tmp4)~=0);tmp6=length(tmp5); 119 | if dd(2,tmp4)==ss(tmp6,tmp4) 120 | ss(1:tmp6+1,kk)=[ss(tmp5,tmp4);tmp(tmp4,2)]; 121 | else, ss(1:3,kk)=[i;dd(2,tmp4);tmp(tmp4,2)]; 122 | end;end 123 | dd=[dd,[tmp3;tmp(tmp4,2)]];V(tmp(tmp4,3))=[]; 124 | [mdd,ndd]=size(dd);kk=kk+1; 125 | end; S=ss; D=dd(1,:); 126 | \end{lstlisting} 127 | \subsection{规划解决程序--lingo源代码} 128 | \begin{lstlisting}[language=c] 129 | kk=2; 130 | [mdd,ndd]=size(dd); 131 | while ~isempty(V) 132 | [tmpd,j]=min(W(i,V));tmpj=V(j); 133 | for k=2:ndd 134 | [tmp1,jj]=min(dd(1,k)+W(dd(2,k),V)); 135 | tmp2=V(jj);tt(k-1,:)=[tmp1,tmp2,jj]; 136 | end 137 | tmp=[tmpd,tmpj,j;tt];[tmp3,tmp4]=min(tmp(:,1)); 138 | if tmp3==tmpd, ss(1:2,kk)=[i;tmp(tmp4,2)]; 139 | else,tmp5=find(ss(:,tmp4)~=0);tmp6=length(tmp5); 140 | if dd(2,tmp4)==ss(tmp6,tmp4) 141 | ss(1:tmp6+1,kk)=[ss(tmp5,tmp4);tmp(tmp4,2)]; 142 | else, ss(1:3,kk)=[i;dd(2,tmp4);tmp(tmp4,2)]; 143 | end; 144 | end 145 | dd=[dd,[tmp3;tmp(tmp4,2)]];V(tmp(tmp4,3))=[]; 146 | [mdd,ndd]=size(dd); 147 | kk=kk+1; 148 | end; 149 | S=ss; 150 | D=dd(1,:); 151 | \end{lstlisting} 152 | 153 | \end{document} -------------------------------------------------------------------------------- /whut.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangyxi/whutmod/c9e2abe29b5f6d657c5e90bef2bcf012657b9a25/whut.jpg -------------------------------------------------------------------------------- /whutmod.cls: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 2 | %% UNOFFICIAL LaTeX Template for WHUT Summer Modeling Training 3 | %% Derived from and compatible with latexstudio/CUMCMThesis 4 | %% Modified by Mark Huang from Communication Engineering (Experimental) 5 | %% First Released on 2018/7/30 6 | %% See https://github.com/huangyxi/whutmod 7 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 8 | 9 | \NeedsTeXFormat{LaTeX2e}[1995/12/01] 10 | \ProvidesClass{whutmod} 11 | [2018/07/13 v0.993 UNOFFICIAL LaTeX Template for WHUT Modeling] 12 | %% Inital Code 13 | \newif\if@mcm@bwprint\@mcm@bwprintfalse 14 | \newif\if@mcm@preface\@mcm@prefacetrue 15 | % tokens definition 16 | %%%% 承诺书 17 | \newcommand\mcm@tokens@keywords{} 18 | \renewcommand\@title{} 19 | \newcommand*\mcm@tokens@tihao{} 20 | \newcommand*\mcm@tokens@team{} 21 | \newcommand*\mcm@tokens@membera{} 22 | \newcommand*\mcm@tokens@memberb{} 23 | \newcommand*\mcm@tokens@memberc{} 24 | \newcommand*\mcm@tokens@joba{} 25 | \newcommand*\mcm@tokens@jobb{} 26 | \newcommand*\mcm@tokens@jobc{} 27 | \newcommand*\mcm@tokens@yearinput{\the\year} 28 | \newcommand*\mcm@tokens@monthinput{\the\month} 29 | \newcommand*\mcm@tokens@dayinput{\the\day} 30 | 31 | %% Declaration of Options 32 | \DeclareOption{colorprint}{\@mcm@bwprintfalse} 33 | \DeclareOption{bwprint}{\@mcm@bwprinttrue} 34 | \DeclareOption{withoutpreface}{\@mcm@prefacefalse} 35 | \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} 36 | %% Executing of Options 37 | \ExecuteOptions{colorprint} 38 | \ProcessOptions\relax 39 | %% Loading Class 40 | \LoadClass[a4paper,12pt]{article} 41 | %% Loading Package 42 | \RequirePackage{ifxetex} 43 | \RequireXeTeX 44 | \ifxetex\else 45 | \ClassError{whutmod}{You must use the `xelatex' driver\MessageBreak Please choose `xelatex'}{% 46 | Just choose `xelatex', no `pdflatex' or `latex' and so on.} 47 | \fi 48 | \RequirePackage{ctex} 49 | \RequirePackage{geometry} 50 | \RequirePackage{amsmath} 51 | \RequirePackage{amsfonts} 52 | \RequirePackage{amssymb} 53 | \RequirePackage{bm} 54 | \RequirePackage{titletoc} 55 | \RequirePackage{xcolor} 56 | \RequirePackage{graphicx} 57 | \RequirePackage{array} 58 | \RequirePackage{longtable} 59 | \RequirePackage{booktabs} 60 | \RequirePackage{multirow} 61 | \RequirePackage{bigstrut} 62 | \RequirePackage{bigdelim} 63 | \RequirePackage{cprotect} 64 | \RequirePackage{listings} 65 | \RequirePackage{xcolor} 66 | \RequirePackage[pdfborder=001]{hyperref} 67 | 68 | \definecolor{dkgreen}{rgb}{0,0.6,0} 69 | \definecolor{gray}{rgb}{0.5,0.5,0.5} 70 | \definecolor{mauve}{rgb}{0.58,0,0.82} 71 | \lstset{ 72 | frame=tb, 73 | aboveskip=3mm, 74 | belowskip=3mm, 75 | showstringspaces=false, 76 | columns=flexible, 77 | framerule=1pt, 78 | rulecolor=\color{gray!35}, 79 | backgroundcolor=\color{gray!5}, 80 | basicstyle={\small\ttfamily}, 81 | numbers=none, 82 | numberstyle=\tiny\color{gray}, 83 | keywordstyle=\color{blue}, 84 | commentstyle=\color{dkgreen}, 85 | stringstyle=\color{mauve}, 86 | breaklines=true, 87 | breakatwhitespace=true, 88 | tabsize=3, 89 | } 90 | \RequirePackage{indentfirst} 91 | \RequirePackage{caption} 92 | \RequirePackage{enumitem} 93 | \RequirePackage{ulem} 94 | \RequirePackage{calc} 95 | \RequirePackage{hyperref} 96 | %% Document Layout 97 | \geometry{top=25mm,bottom=25mm,left=25mm,right=25mm} 98 | \renewcommand*{\baselinestretch}{1.38} 99 | \let\mcm@oldtabular\tabular 100 | \let\mcm@endoldtabular\endtabular 101 | \renewenvironment{tabular}% 102 | {\bgroup% 103 | \renewcommand{\arraystretch}{1.38}% 104 | \mcm@oldtabular}% 105 | {\mcm@endoldtabular\egroup} 106 | \setlength\parindent{2em} 107 | \setmainfont{Times New Roman} 108 | \setsansfont{Arial} 109 | \setCJKfamilyfont{kai}[AutoFakeBold]{simkai.ttf} 110 | \newcommand*{\kai}{\CJKfamily{kai}} 111 | \setCJKfamilyfont{song}[AutoFakeBold]{SimSun} 112 | \newcommand*{\song}{\CJKfamily{song}} 113 | \setCJKfamilyfont{fs}[AutoFakeBold]{STFangsong} 114 | \newcommand*{\fs}{\CJKfamily{fs}} 115 | %\setCJKfamilyfont{fangsong}{STFangsong} 116 | %\newcommand*{\fangsong}{\CJKfamily{fangsong}} 117 | 118 | \renewcommand\normalsize{% 119 | \@setfontsize\normalsize{12.05}{14.45}% 120 | \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@ 121 | \abovedisplayshortskip \z@ \@plus3\p@ 122 | \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@} 123 | \newtheorem{definition}{\mcm@cap@definition} 124 | \newtheorem{theorem}{\mcm@cap@theorem} 125 | \newtheorem{lemma}{\mcm@cap@lemma} 126 | \newtheorem{corollary}{\mcm@cap@corollary} 127 | \newtheorem{assumption}{\mcm@cap@assumption} 128 | \newtheorem{conjecture}{\mcm@cap@conjecture} 129 | \newtheorem{axiom}{\mcm@cap@axiom} 130 | \newtheorem{principle}{\mcm@cap@principle} 131 | \newtheorem{problem}{\mcm@cap@problem} 132 | \newtheorem{example}{\mcm@cap@example} 133 | \newtheorem{proof}{\mcm@cap@proof} 134 | \newtheorem{solution}{\mcm@cap@solution} 135 | 136 | \renewcommand*{\textfraction}{0.05} 137 | \renewcommand*{\topfraction}{0.9} 138 | \renewcommand*{\bottomfraction}{0.8} 139 | \renewcommand*{\floatpagefraction}{0.85} 140 | \DeclareGraphicsExtensions{.pdf,.eps,.jpg,.png} 141 | \graphicspath{{figures/}{figure/}{pictures/}% 142 | {picture/}{pic/}{pics/}{image/}{images/}} 143 | \DeclareCaptionFont{song}{\songti} 144 | \DeclareCaptionFont{minusfour}{\zihao{-4}} 145 | \captionsetup[figure]{% 146 | format=hang, 147 | labelsep=quad, 148 | font={song,minusfour,bf}, 149 | position=bottom 150 | } 151 | \captionsetup[table]{% 152 | format=hang, 153 | labelsep=quad, 154 | font={song,minusfour,bf}, 155 | position=top 156 | } 157 | 158 | \setlist{% 159 | topsep=0.3em, 160 | partopsep=0pt, 161 | itemsep=0ex plus 0.1ex, 162 | parsep=0pt, 163 | leftmargin=1.5em, 164 | rightmargin=0em, 165 | labelsep=0.5em, 166 | labelwidth=2em 167 | } 168 | 169 | 170 | \lstnewenvironment{tcode} 171 | { 172 | \lstset{basicstyle = \small\ttfamily, 173 | language=TeX, 174 | tabsize = 4, 175 | frame = single, 176 | escapechar = `, 177 | breaklines = true, 178 | breakatwhitespace = true, 179 | frameround = tttt, 180 | } 181 | } 182 | {} 183 | 184 | %% Document Markup 185 | 186 | \renewcommand{\maketitle}{\par 187 | \begingroup 188 | \newpage 189 | \global\@topnum\z@ 190 | \@maketitle 191 | \endgroup 192 | \global\let\thanks\relax 193 | \global\let\maketitle\relax 194 | \global\let\@maketitle\relax 195 | \global\let\@thanks\@empty 196 | \global\let\@author\@empty 197 | \global\let\@date\@empty 198 | \global\let\@title\@empty 199 | \global\let\title\relax 200 | \global\let\author\relax 201 | \global\let\date\relax 202 | \global\let\and\relax 203 | } 204 | \def\@maketitle{% 205 | \newpage 206 | \if@mcm@preface 207 | \null 208 | 209 | \vskip2ex 210 | \thispagestyle{empty} 211 | \begin{center} 212 | 213 | \includegraphics[width=12.83cm]{whut.jpg} 214 | \vskip2ex 215 | {\zihao{2}\fs \textbf{数学建模暑期培训论文}} 216 | \vskip7ex 217 | {\zihao{2}\fs \textbf{第\;{\color{red} \mcm@tokens@tihao}\;题}} 218 | 219 | \vskip5ex 220 | {\zihao{2}\fs \textbf{\@title} 221 | \\[-30pt]\noindent\rule{12.83cm}{2pt}\par} 222 | \vskip14ex 223 | {\zihao{2} \bfseries 第 {\;\color{red}\mcm@tokens@team} 组}\\[5pt] 224 | \begin{tabular}{w{l}{28ex}w{c}{20ex}} 225 | {\fs \zihao{3} \textbf{姓名}} & {\fs \zihao{3} \textbf{方向}} \\ 226 | {\fs \zihao{-3} \color{red}\mcm@tokens@membera (组长)} & {\fs \zihao{-3} \mcm@tokens@joba}\\ 227 | {\fs \zihao{-3} \color{red}\mcm@tokens@memberb} & {\fs \zihao{-3} \mcm@tokens@jobb}\\ 228 | {\fs \zihao{-3} \color{red}\mcm@tokens@memberc} & {\fs \zihao{-3} \mcm@tokens@jobc}\\ 229 | \end{tabular} 230 | \vfill 231 | {\zihao{-3}\bfseries \mcm@tokens@yearinput 年 \mcm@tokens@monthinput 月 \mcm@tokens@dayinput 日} 232 | \end{center} 233 | % \null 234 | % \fi 235 | \newpage} 236 | 237 | 238 | % 中文标题名称设置 239 | \renewcommand\contentsname{\mcm@cap@contentsname} 240 | \renewcommand\listfigurename{\mcm@cap@listfigurename} 241 | \renewcommand\listtablename{\mcm@cap@listtablename} 242 | \renewcommand\refname{\mcm@cap@refname} 243 | \renewcommand\indexname{\mcm@cap@indexname} 244 | \renewcommand\figurename{\mcm@cap@figurename} 245 | \renewcommand\tablename{\mcm@cap@tablename} 246 | \renewcommand\appendixname{\mcm@cap@appendixname} 247 | \renewcommand\abstractname{\mcm@cap@abstractname} 248 | 249 | \setcounter{secnumdepth}{3} 250 | \def\@seccntformat#1{\csname the#1\endcsname\ } 251 | \renewcommand\thesection{\chinese{section}、} 252 | \renewcommand\thesubsection{\arabic{section}\thinspace.\thinspace\arabic{subsection}} 253 | \renewcommand\thesubsubsection{\thesubsection\thinspace.\thinspace\arabic{subsubsection}} 254 | \renewcommand\section{\@startsection{section}{1}{\z@}% 255 | {-3.5ex \@plus -1ex \@minus -.2ex}% 256 | {2.3ex \@plus.2ex}% 257 | {\centering\normalfont\Large\bfseries}} 258 | \renewcommand\subsection{\@startsection{subsection}{2}{\z@}% 259 | {-3.25ex\@plus -1ex \@minus -.2ex}% 260 | {1.5ex \@plus .2ex}% 261 | {\normalfont\large\bfseries}} 262 | \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% 263 | {-3.25ex\@plus -1ex \@minus -.2ex}% 264 | {1.5ex \@plus .2ex}% 265 | {\normalfont\normalsize\bfseries}} 266 | \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}% 267 | {3.25ex \@plus1ex \@minus.2ex}% 268 | {-1em}% 269 | {\normalfont\normalsize\bfseries}} 270 | \renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}% 271 | {3.25ex \@plus1ex \@minus .2ex}% 272 | {-1em}% 273 | {\normalfont\normalsize\bfseries}} 274 | 275 | \renewenvironment{abstract}{% 276 | \thispagestyle{empty} 277 | \setcounter{page}{0} 278 | \if@twocolumn 279 | \section*{\abstractname}% 280 | \else 281 | \begin{center}% 282 | {\zihao{4}\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}% 283 | \end{center}% 284 | \quotation 285 | \fi} 286 | {\if@twocolumn\else\endquotation\newpage\null\fi} 287 | \renewenvironment{quotation} 288 | {\list{}{\listparindent 2em% 289 | \itemindent \listparindent 290 | \rightmargin\z@ 291 | \leftmargin\z@ 292 | \parsep \z@ \@plus\p@}% 293 | \item\relax} 294 | {\endlist} 295 | 296 | \newcommand\keywords[1]{% 297 | \renewcommand{\mcm@tokens@keywords}{#1} 298 | ~\\ 299 | \par 300 | \vskip1ex 301 | {\noindent\zihao{-4}\heiti\mcm@cap@keywordsname:}~{\bf\mcm@tokens@keywords} 302 | } 303 | 304 | \let\@oldappendix\appendix 305 | \renewcommand\appendix{\par 306 | \@oldappendix 307 | % \setcounter{section}{0}% 308 | % \setcounter{subsection}{0}% 309 | \gdef\thesection{\appendixname\@Alph\c@section} 310 | \gdef\thesubsection{\Alph{section}.\@arabic\c@subsection} 311 | \gdef\thesubsubsection{\Alph{section}.\arabic{subsection}.\@arabic\c@subsubsection} 312 | } 313 | 314 | \renewenvironment{thebibliography}[1] 315 | {\section*{\refname}% 316 | \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}% 317 | \list{\@biblabel{\@arabic\c@enumiv}}% 318 | {\settowidth\labelwidth{\@biblabel{#1}}% 319 | \leftmargin\labelwidth 320 | \advance\leftmargin\labelsep 321 | \@openbib@code 322 | \usecounter{enumiv}% 323 | \let\p@enumiv\@empty 324 | \renewcommand\theenumiv{\@arabic\c@enumiv}}% 325 | \sloppy 326 | \clubpenalty4000 327 | \@clubpenalty \clubpenalty 328 | \widowpenalty4000% 329 | \sfcode`\.\@m} 330 | {\def\@noitemerr 331 | {\@latex@warning{Empty `thebibliography' environment}}% 332 | \endlist} 333 | 334 | \newcommand*\tihao[1]{% 335 | \renewcommand{\mcm@tokens@tihao}{#1}} 336 | \newcommand*\team[1]{% 337 | \renewcommand{\mcm@tokens@team}{#1}} 338 | \newcommand*\membera[1]{% 339 | \renewcommand{\mcm@tokens@membera}{#1}} 340 | \newcommand*\memberb[1]{% 341 | \renewcommand{\mcm@tokens@memberb}{#1}} 342 | \newcommand*\memberc[1]{% 343 | \renewcommand{\mcm@tokens@memberc}{#1}} 344 | \newcommand*\joba[1]{% 345 | \renewcommand{\mcm@tokens@joba}{#1}} 346 | \newcommand*\jobb[1]{% 347 | \renewcommand{\mcm@tokens@jobb}{#1}} 348 | \newcommand*\jobc[1]{% 349 | \renewcommand{\mcm@tokens@jobc}{#1}} 350 | \newcommand*\yearinput[1]{% 351 | \renewcommand{\mcm@tokens@yearinput}{#1}} 352 | \newcommand*\monthinput[1]{% 353 | \renewcommand{\mcm@tokens@monthinput}{#1}} 354 | \newcommand*\dayinput[1]{% 355 | \renewcommand{\mcm@tokens@dayinput}{#1}} 356 | 357 | \newcommand*{\mcm@cap@definition}{定义} 358 | \newcommand*{\mcm@cap@theorem}{定理} 359 | \newcommand*{\mcm@cap@lemma}{引理} 360 | \newcommand*{\mcm@cap@corollary}{推论} 361 | \newcommand*{\mcm@cap@assumption}{假设} 362 | \newcommand*{\mcm@cap@conjecture}{猜想} 363 | \newcommand*{\mcm@cap@axiom}{公理} 364 | \newcommand*{\mcm@cap@principle}{定律} 365 | \newcommand*{\mcm@cap@problem}{问题} 366 | \newcommand*{\mcm@cap@example}{例} 367 | \newcommand*{\mcm@cap@proof}{证明} 368 | \newcommand*{\mcm@cap@solution}{解} 369 | \newcommand*{\mcm@cap@contentsname}{目录} 370 | \newcommand*{\mcm@cap@listfigurename}{插图清单} 371 | \newcommand*{\mcm@cap@listtablename}{附表清单} 372 | \newcommand*{\mcm@cap@refname}{参考文献} 373 | \newcommand*{\mcm@cap@indexname}{索引} 374 | \newcommand*{\mcm@cap@figurename}{图} 375 | \newcommand*{\mcm@cap@tablename}{表} 376 | \newcommand*{\mcm@cap@appendixname}{附录} 377 | \newcommand*{\mcm@cap@abstractname}{摘要} 378 | \newcommand*{\mcm@cap@keywordsname}{关键词} 379 | 380 | \titlecontents{section}[0pt]{\vspace{2mm}\bfseries} 381 | {\thecontentslabel\hskip.5em}{}{\titlerule*[0.5pc]{.}\contentspage} 382 | \titlecontents{subsection}[30pt]{\songti} 383 | {\thecontentslabel\hskip.5em}{}{\titlerule*[0.5pc]{.}\contentspage} 384 | \titlecontents{subsubsection}[55pt]{\songti} 385 | {\thecontentslabel\hskip.5em}{}{\titlerule*[0.5pc]{.}\contentspage} 386 | 387 | \endinput 388 | 389 | --------------------------------------------------------------------------------