cumcm-2024-e/paper/cumcmthesis.cls

668 lines
25 KiB
OpenEdge ABL
Raw Normal View History

2024-09-15 16:03:06 +08:00
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{cumcmthesis}
[2017/09/16 v2.6 Standard LaTeX Template for CUMCM]
%%
\newif\if@mcm@bwprint\@mcm@bwprintfalse
\newif\if@mcm@preface\@mcm@prefacetrue
% tokens definition
%%%%
\newcommand\mcm@tokens@keywords{}
\newcommand*\mcm@tokens@tihao{}
\newcommand*\mcm@tokens@baominghao{}
\newcommand*\mcm@tokens@schoolname{}
\newcommand*\mcm@tokens@membera{}
\newcommand*\mcm@tokens@memberb{}
\newcommand*\mcm@tokens@memberc{}
\newcommand*\mcm@tokens@supervisor{}
\newcommand*\mcm@tokens@yearinput{}
\newcommand*\mcm@tokens@monthinput{}
\newcommand*\mcm@tokens@dayinput{}
%%%%
%
%% Declaration of Options
\DeclareOption{colorprint}{\@mcm@bwprintfalse}
\DeclareOption{bwprint}{\@mcm@bwprinttrue}
\DeclareOption{withoutpreface}{\@mcm@prefacefalse}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
%% Executing of Options
\ExecuteOptions{colorprint}
\ProcessOptions\relax
%% Loading Class
\LoadClass[a4paper,12pt]{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Loading Package
\RequirePackage{ifxetex}
\RequireXeTeX
\ifxetex\else
\ClassError{mcmthesis}{You must use the `xelatex' driver\MessageBreak Please choose `xelatex'}{%
Just choose `xelatex', no `pdflatex' or `latex' and so on.}
\fi
% ctex
\RequirePackage{ctex}
%
\RequirePackage{geometry}
%
\RequirePackage{amsmath}
\RequirePackage{amsfonts}
\RequirePackage{amssymb}
\RequirePackage{bm}
%\RequirePackage{titletoc}
%
\RequirePackage{xcolor}
%
\RequirePackage{graphicx}
\RequirePackage{float}
%
\RequirePackage{array}
%%
\RequirePackage{longtable}
%% booktabs \toprule .
\RequirePackage{booktabs,tabularx}
%% multirow
\RequirePackage{multirow}
%% ,
\RequirePackage{bigstrut}
%%
\RequirePackage{bigdelim}
%
\RequirePackage{cprotect}
%
\RequirePackage{listings}
\RequirePackage{xcolor}
%
\RequirePackage{url}
%
%\RequirePackage{tikz}
%\usetikzlibrary{snakes}
%
\RequirePackage{subcaption}
\RequirePackage[titles]{tocloft}
%
%\renewcommand{\cftdot}{$\cdot$}
%\renewcommand{\cftsecdotsep}{1.5}
\renewcommand{\cftsecdotsep}{4.5}
\setlength{\cftbeforesecskip}{7pt}
\setlength{\cftbeforesubsecskip}{3pt}
%\setlength{\cftbeforesubsecskip}{5pt}
\renewcommand{\cftsecfont}{\bfseries\zihao{-4}\heiti}
\renewcommand{\cftsecleader}{\cftdotfill{\cftsecdotsep}}
\renewcommand{\cftsecaftersnumb}{\hskip.4em}
%
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{
frame=tb,
aboveskip=3mm,
belowskip=3mm,
showstringspaces=false,
columns=flexible,
framerule=1pt,
rulecolor=\color{gray!35},
backgroundcolor=\color{gray!5},
basicstyle={\small\ttfamily},
numbers=none,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true,
tabsize=3,
}
%
\RequirePackage{indentfirst}
%
\RequirePackage{caption}
%
\RequirePackage{enumitem}
% 线
\RequirePackage{ulem}
%
\RequirePackage{calc}
\RequirePackage[titletoc,title]{appendix}
%\RequirePackage[title,toc,titletoc]{appendix}
\RequirePackage{etoolbox}
\AtBeginEnvironment{thebibliography}{%
\phantomsection
\addcontentsline{toc}{section}{\refname}
}
% hyperref
\RequirePackage{hyperref}
%
\RequirePackage{cleveref}
%% Document Layout
%
\geometry{top=25mm,bottom=25mm,left=25mm,right=25mm}
\renewcommand*{\baselinestretch}{1.38}
% tabular , .
\let\mcm@oldtabular\tabular
\let\mcm@endoldtabular\endtabular
\renewenvironment{tabular}%
{\bgroup%
\renewcommand{\arraystretch}{1.38}%
\mcm@oldtabular}%
{\mcm@endoldtabular\egroup}
%
\setlength\parindent{2em}
%
\setmainfont{Times New Roman}
%\setmonofont{Courier New}
\setsansfont{Arial}
\setCJKfamilyfont{kai}[AutoFakeBold]{static/font/simkai.ttf}
\newcommand*{\kai}{\CJKfamily{kai}}
\setCJKfamilyfont{song}[AutoFakeBold]{static/font/simsun.ttc}
\newcommand*{\song}{\CJKfamily{song}}
\renewcommand\normalsize{%
\@setfontsize\normalsize{12.05}{14.45}%
\abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@
\abovedisplayshortskip \z@ \@plus3\p@
\belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@}
% ,
\newtheorem{definition}{\mcm@cap@definition}
\newtheorem{theorem}{\mcm@cap@theorem}
\newtheorem{lemma}{\mcm@cap@lemma}
\newtheorem{corollary}{\mcm@cap@corollary}
\newtheorem{assumption}{\mcm@cap@assumption}
\newtheorem{conjecture}{\mcm@cap@conjecture}
\newtheorem{axiom}{\mcm@cap@axiom}
\newtheorem{principle}{\mcm@cap@principle}
\newtheorem{problem}{\mcm@cap@problem}
\newtheorem{example}{\mcm@cap@example}
\newtheorem{proof}{\mcm@cap@proof}
\newtheorem{solution}{\mcm@cap@solution}
%
% , \LaTeX{} 20%,,
% , 5%.
\renewcommand*{\textfraction}{0.05}
% , \LaTeX{}
% 使
% . |\topfraction| |\bottomfraction|
% .
\renewcommand*{\topfraction}{0.9}
\renewcommand*{\bottomfraction}{0.8}
% \LaTeX{},
% 85% .
% : |\floatpagefraction| |\topfraction|.
\renewcommand*{\floatpagefraction}{0.85}
% graphicx
% ,
\DeclareGraphicsExtensions{.pdf,.eps,.jpg,.png}
% ,
\graphicspath{{figures/}{figure/}{pictures/}%
{picture/}{pic/}{pics/}{image/}{images/}}
%
\DeclareCaptionFont{song}{\songti}
\DeclareCaptionFont{minusfour}{\zihao{-4}}
\captionsetup[figure]{%
format=hang, % , justification=raggedright .
labelsep=quad, %
font={song,minusfour,bf}, % ,
position=bottom % position=bottom, , \caption.
}
\captionsetup[table]{%
format=hang, % , justification=raggedright .
labelsep=quad, %
font={song,minusfour,bf}, % ,
position=top % position=bottom, , \caption.
}
%
\setlist{%
topsep=0.3em, %
partopsep=0pt, %
itemsep=0ex plus 0.1ex, %
parsep=0pt, %
leftmargin=1.5em, %
rightmargin=0em, %
labelsep=0.5em, %
labelwidth=2em % 使
}
%
\hypersetup{%
% xetex,
% unicode=false, % hyperref xetex 使 Unicode .
pdfstartview=FitH,
CJKbookmarks=true,
bookmarksnumbered=true,
bookmarksopen=true,
colorlinks, %(colorlinkspdfborder)
pdfborder=001, %
allcolors=black,
breaklinks=true}%
% \if@mcm@bwprint
% \AtBeginDocument{\hypersetup{hidelinks}}
% \else\relax\fi
\pdfstringdefDisableCommands{%
\def\cftdotfill{ }%
}
\lstnewenvironment{tcode}
{
\lstset{basicstyle = \small\ttfamily,
language=TeX,
tabsize = 4,
frame = single,
escapechar = `,
breaklines = true,
breakatwhitespace = true,
frameround = tttt,
}
}
{}
%%% crefformat settings
\crefformat{figure}{#2~#1#3}
\crefrangeformat{figure}{~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{figure}{~(#2#1#3)}{~(#2#1#3)}{(#2#1#3)}{~(#2#1#3)}
\crefformat{table}{#2#1#3}
\crefrangeformat{table}{(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{table}{~(#2#1#3)}{~(#2#1#3)}{(#2#1#3)}{~(#2#1#3)}
\crefformat{equation}{#2~(#1#3)}
\crefrangeformat{equation}{~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{equation}{~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
\crefformat{definition}{#2\mcm@cap@definition~#1#3}
\crefrangeformat{definition}{\mcm@cap@definition~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{definition}{\mcm@cap@definition~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
\crefformat{theorem}{#2\mcm@cap@theorem~#1#3}
\crefrangeformat{theorem}{\mcm@cap@theorem~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{theorem}{\mcm@cap@theorem~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
\crefformat{lemma}{#2\mcm@cap@lemma~#1#3}
\crefrangeformat{lemma}{\mcm@cap@lemma~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{lemma}{\mcm@cap@lemma~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
\crefformat{corollary}{#2\mcm@cap@corollary~#1#3}
\crefrangeformat{corollary}{\mcm@cap@corollary~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{corollary}{\mcm@cap@corollary~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
\crefformat{assumption}{#2\mcm@cap@assumption~#1#3}
\crefrangeformat{assumption}{\mcm@cap@assumption~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{assumption}{\mcm@cap@assumption~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
\crefformat{conjecture}{#2\mcm@cap@conjecture~#1#3}
\crefrangeformat{conjecture}{\mcm@cap@conjecture~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{conjecture}{\mcm@cap@conjecture~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
\crefformat{axiom}{#2\mcm@cap@axiom~#1#3}
\crefrangeformat{axiom}{\mcm@cap@axiom~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{axiom}{\mcm@cap@axiom~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
\crefformat{principle}{#2\mcm@cap@principle~#1#3}
\crefrangeformat{principle}{\mcm@cap@principle~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{principle}{\mcm@cap@principle~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
\crefformat{problem}{#2\mcm@cap@problem~#1#3}
\crefrangeformat{problem}{\mcm@cap@problem~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{problem}{\mcm@cap@problem~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
\crefformat{example}{#2\mcm@cap@example~#1#3}
\crefrangeformat{example}{\mcm@cap@example~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{example}{\mcm@cap@example~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
\crefformat{proof}{#2\mcm@cap@proof~#1#3}
\crefrangeformat{proof}{\mcm@cap@proof~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{proof}{\mcm@cap@proof~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
\crefformat{solution}{#2\mcm@cap@solution~#1#3}
\crefrangeformat{solution}{\mcm@cap@solution~(#3#1#4)\;\~{}\;(#5#2#6)}
\crefmultiformat{solution}{\mcm@cap@solution~(#2#1#3)}{ ~(#2#1#3)}{(#2#1#3)}{ ~(#2#1#3)}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Document Markup
% , 使\maketitle
\renewcommand{\maketitle}{\par
\begingroup
\newpage
\global\@topnum\z@ % Prevents figures from going at top of page.
\@maketitle
\endgroup
\global\let\thanks\relax
\global\let\maketitle\relax
\global\let\@maketitle\relax
\global\let\@thanks\@empty
\global\let\@author\@empty
\global\let\@date\@empty
\global\let\@title\@empty
\global\let\title\relax
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
}
\def\@maketitle{%
\newpage
\if@mcm@preface
\null
%
\vskip2ex
\thispagestyle{empty}
{\zihao{4}\noindent\mcm@commit@string@headname\\[-8pt]
\noindent\rule[5pt]{\textwidth-1.34em}{.5pt}\par}
\begin{center}%
{\zihao{-3}\bfseries\heiti \mcm@commit@string@titlea \par}%
{\vskip1ex\zihao{3}\bfseries\songti \mcm@commit@string@titleb \par}
\end{center}
{\zihao{-4} \mcm@commit@string@contents \par}
{\vskip1ex\zihao{-4}
\renewcommand{\ULthickness}{0.4pt}\setlength{\ULdepth}{2pt}
\hspace*{2em}\mcm@commit@string@problemnum\uline{\mbox{\kern1em}\mcm@tokens@tihao\hfill}\makebox[0.66em]{}\par
\mcm@commit@string@signupnum\uline{\mbox{\kern1em}\mcm@tokens@baominghao\hfill}\makebox[0.66em]{}\par
\mcm@commit@string@schoolname\uline{\hfill\mcm@tokens@schoolname\hfill}\makebox[0.66em]{}\par
\newlength{\mcm@lenB}
\settowidth{\mcm@lenB}{\mcm@commit@string@membername\mbox{\hspace{1em}}1.}
\setlength{\mcm@lenB}{\textwidth-\mcm@lenB}
% !
\mcm@commit@string@membername
\begin{minipage}[t]{\mcm@lenB}
1.\uline{\mbox{\kern1em}\mcm@tokens@membera\hfill} \makebox[0.46em]{}\par
2.\uline{\mbox{\kern1em}\mcm@tokens@memberb\hfill} \makebox[0.46em]{}\par
3.\uline{\mbox{\kern1em}\mcm@tokens@memberc\hfill} \makebox[0.46em]{}\par
\end{minipage}\par\vskip1ex
\mcm@commit@string@supervisorname\uline{\mbox{\hspace{1em}}\mcm@tokens@supervisor\hfill}\makebox[0.66em]{}\par
\hspace{0.1cm} {\kaishu }
%{\kaishu\mcm@commit@string@inform\par}
\vskip2ex
\newlength{\mcm@lenA}
\settowidth{\mcm@lenA}{}% "日期""错误", "日期", "填写""
\hspace*{\mcm@lenA}\mcm@commit@string@date\hspace{0.5em}\uline{\hfill\mbox{\kern1em}\mcm@tokens@yearinput\mbox{\kern1em}\hfill}%
\mcm@commit@string@year\uline{\hfill\mcm@tokens@monthinput\hfill}\mcm@commit@string@month%
\uline{\hfill\mcm@tokens@dayinput\hfill}\mcm@commit@string@day\makebox[1em]{}\par}
\vskip1ex
{\kaishu\bfseries\mcm@commit@string@inform\par}
\vfill
\null
%
\else
\fi
\makeothertitle
}
%%
\def\makeothertitle{%
\if@mcm@preface
\par
\newpage
\null
\thispagestyle{empty}
{\zihao{4}\noindent\begin{tabularx}{\textwidth}{cXcX@{}}
\mcm@numberpage@string@headname & & \mcm@numberpage@string@allcountrynum & \\[-5pt]
\mcm@numberpage@string@headnameb & & \mcm@numberpage@string@allcountrynumb & \\
\cline{2-2}\cline{4-4}
\end{tabularx}
\vspace*{1.2em}
\noindent\rule{\textwidth}{1pt}\par}
\begin{center}
{\zihao{4}\bfseries\heiti \mcm@numberpage@string@titlea\par}
{\vskip1ex\zihao{3}\songti \bfseries\mcm@numberpage@string@titleb\par}
\end{center}\par
{%
\zihao{4}
\vskip3em
\hspace*{2em}\mcm@numberpage@string@appraiselog
\par
\newlength{\mcm@lenC}
\setlength{\mcm@lenC}{\textwidth-8.72em}
\setlength{\mcm@lenC}{\mcm@lenC/6}
\newlength{\mcm@lenD}
\settoheight{\mcm@lenD}{\mcm@numberpage@string@reviewer}
\setlength{\mcm@lenD}{\mcm@lenD+2em}
\newlength{\mcm@lenF}
\settoheight{\mcm@lenF}{\mcm@numberpage@string@remarks}
\setlength{\mcm@lenF}{\mcm@lenF+2em}
\newcolumntype{P}{@{}p{\mcm@lenC}@{}}
\hspace*{1.5em}\begin{tabular}{|!{\hspace{4pt}}c!{\hspace{4pt}}|*{6}{P|}}
\hline
\rule{0pt}{\mcm@lenD}\raisebox{0.6em}[0pt][0pt]{\mcm@numberpage@string@reviewer} & & & & & & \\\cline{1-7}
\rule{0pt}{\mcm@lenF}\raisebox{0.6em}[0pt][0pt]{\mcm@numberpage@string@remarks} & & & & & & \\
\hline
\end{tabular}\par
\vskip5em
\hspace*{2em}\mcm@numberpage@string@countrynum}
\vfill
{\zihao{-4}\kaishu\bfseries\mcm@numberpage@string@inform\par}
\null
\newpage
\null
\setcounter{page}{1}
{\centering \zihao{3}\bfseries \@title\par}
\vskip1ex
\else
\setcounter{page}{1}
{\centering \zihao{3}\bfseries \@title\par}
\vskip1ex
\fi
}
%
\renewcommand\contentsname{\mcm@cap@contentsname}
\renewcommand\listfigurename{\mcm@cap@listfigurename}
\renewcommand\listtablename{\mcm@cap@listtablename}
\renewcommand\refname{\mcm@cap@refname}
\renewcommand\indexname{\mcm@cap@indexname}
\renewcommand\figurename{\mcm@cap@figurename}
\renewcommand\tablename{\mcm@cap@tablename}
\renewcommand\appendixname{\mcm@cap@appendixname}
\renewcommand\abstractname{\mcm@cap@abstractname}
%
%
\setcounter{secnumdepth}{3}
% , , 使\chinese
\def\@seccntformat#1{\csname the#1\endcsname\ }
\renewcommand\thesection{\chinese{section}}
\renewcommand\thesubsection{\arabic{section}\thinspace.\thinspace\arabic{subsection}}
\renewcommand\thesubsubsection{\thesubsection\thinspace.\thinspace\arabic{subsubsection}}
\renewcommand\section{\@startsection{section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\centering\normalfont\Large\bfseries}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
{\normalfont\large\bfseries}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
{\normalfont\normalsize\bfseries}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{3.25ex \@plus1ex \@minus.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
{3.25ex \@plus1ex \@minus .2ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Define new environment and command
%% 4 .
%%
\renewenvironment{abstract}{%
\if@twocolumn
\section*{\abstractname}%
\else
\begin{center}%
{\zihao{4}\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
\end{center}%
\quotation
\fi}
{\if@twocolumn\else\endquotation\newpage\null\fi}
\renewenvironment{quotation}
{\list{}{\listparindent 2em%
\itemindent \listparindent
\rightmargin\z@
\leftmargin\z@
\parsep \z@ \@plus\p@}%
\item\relax}
{\endlist}
\newcommand\keywords[1]{%
\renewcommand{\mcm@tokens@keywords}{#1}
\par
\vskip1ex
{\noindent\zihao{-4}\heiti\mcm@cap@keywordsname}~{\mcm@tokens@keywords}
}
%
% \renewcommand{\setthesection}{\appendixname\Alph{section}}
% \renewcommand\appendix{\par
% \setcounter{section}{0}%
% \setcounter{subsection}{0}%
% \gdef\thesection{\appendixname\@Alph\c@section}}
%
\renewenvironment{thebibliography}[1]
{\section*{\refname}%
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
\newcommand*\tihao[1]{%
\renewcommand{\mcm@tokens@tihao}{#1}}
\newcommand*\baominghao[1]{%
\renewcommand{\mcm@tokens@baominghao}{#1}}
\newcommand*\schoolname[1]{%
\renewcommand{\mcm@tokens@schoolname}{#1}}
\newcommand*\membera[1]{%
\renewcommand{\mcm@tokens@membera}{#1}}
\newcommand*\memberb[1]{%
\renewcommand{\mcm@tokens@memberb}{#1}}
\newcommand*\memberc[1]{%
\renewcommand{\mcm@tokens@memberc}{#1}}
\newcommand*\supervisor[1]{%
\renewcommand{\mcm@tokens@supervisor}{#1}}
\newcommand*\yearinput[1]{%
\renewcommand{\mcm@tokens@yearinput}{#1}}
\newcommand*\monthinput[1]{%
\renewcommand{\mcm@tokens@monthinput}{#1}}
\newcommand*\dayinput[1]{%
\renewcommand{\mcm@tokens@dayinput}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Initialization
%%%
\newcommand*{\mcm@cap@definition}{}
\newcommand*{\mcm@cap@theorem}{}
\newcommand*{\mcm@cap@lemma}{}
\newcommand*{\mcm@cap@corollary}{}
\newcommand*{\mcm@cap@assumption}{}
\newcommand*{\mcm@cap@conjecture}{}
\newcommand*{\mcm@cap@axiom}{}
\newcommand*{\mcm@cap@principle}{}
\newcommand*{\mcm@cap@problem}{}
\newcommand*{\mcm@cap@example}{}
\newcommand*{\mcm@cap@proof}{}
\newcommand*{\mcm@cap@solution}{}
%%%
\newcommand*{\mcm@cap@contentsname}{}
\newcommand*{\mcm@cap@listfigurename}{}
\newcommand*{\mcm@cap@listtablename}{}
\newcommand*{\mcm@cap@refname}{}
\newcommand*{\mcm@cap@indexname}{}
\newcommand*{\mcm@cap@figurename}{}
\newcommand*{\mcm@cap@tablename}{}
\newcommand*{\mcm@cap@appendixname}{}
\newcommand*{\mcm@cap@abstractname}{}
%%%
\newcommand*{\mcm@cap@keywordsname}{}
%%%
\newcommand*\mcm@commit@string@headname{}
\newcommand*\mcm@commit@string@titlea{\the\year }
\newcommand*\mcm@commit@string@titleb{\hspace{1em}\hspace{1em}}
\newcommand\mcm@commit@string@contents{\quotation
http://www.mcm.edu.cn下载
QQ
使
{\bfseries\song }
\endquotation
}
\newcommand*\mcm@commit@string@problemnum{A/B/C/D/E}
\newcommand*\mcm@commit@string@signupnum{12}
\newcommand*\mcm@commit@string@schoolname{}
\newcommand*\mcm@commit@string@membername{ () }
\newcommand*\mcm@commit@string@supervisorname{ ()}
\newcommand\mcm@commit@string@inform{\quotation
\noindent{\bfseries\kai %
}
\endquotation
}
\newcommand*\mcm@commit@string@date{:}
\newcommand*\mcm@commit@string@year{}
\newcommand*\mcm@commit@string@month{}
\newcommand*\mcm@commit@string@day{}
\newcommand*\mcm@commit@string@appraisenum{}
%%%
\newcommand*\mcm@numberpage@string@headname{}
\newcommand*\mcm@numberpage@string@headnameb{}
\newcommand*\mcm@numberpage@string@allcountrynum{}
\newcommand*\mcm@numberpage@string@allcountrynumb{}
\newcommand*\mcm@numberpage@string@titlea{\the\year }
\newcommand*\mcm@numberpage@string@titleb{\hspace{.5em}\hspace{.5em}\hspace{.5em}\hspace{.5em}}
\newcommand*\mcm@numberpage@string@appraiselog{使}
\newcommand\mcm@numberpage@string@reviewer{\shortstack{\\ \\ }}
\newcommand\mcm@numberpage@string@remarks{\shortstack{\\ }}
\newcommand*\mcm@numberpage@string@countrynum{:\par \hspace*{2em}}
\newcommand\mcm@numberpage@string@inform{\quotation
\noindent{\bfseries\kai 使
}
\endquotation
}
%
%
% \titlecontents{section}[0pt]{\vspace{2mm}\bfseries}
% {\thecontentslabel\hskip.5em}{}{\titlerule*[0.5pc]{.}\contentspage}
% %
% \titlecontents{subsection}[30pt]{\songti}
% {\thecontentslabel\hskip.5em}{}{\titlerule*[0.5pc]{.}\contentspage}
% \titlecontents{subsubsection}[55pt]{\songti}
% {\thecontentslabel\hskip.5em}{}{\titlerule*[0.5pc]{.}\contentspage}
%
\newcommand{\upcite}[1]{$^{\mbox{\scriptsize \cite{#1}}}$}
\newcommand{\supercite}[1]{\textsuperscript{\textsuperscript{\cite{#1}}}}
\endinput