Skip to content

Commit

Permalink
v1.2.7 Published
Browse files Browse the repository at this point in the history
  • Loading branch information
obster-y committed Jul 22, 2021
1 parent e7e557e commit 9ab32b6
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions XJTU-thesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -548,10 +548,11 @@
\theoremstyle{plain}
\renewcommand{\qedsymbol}{$\blacksquare$}
\let\proof\undefined
\let\theorem\undefined
\declaretheoremstyle[%
spaceabove=2pt, spacebelow=2pt,
postheadspace=0.5em, headindent=0em,
headpunct={},numberwithin=chapter,
headpunct={},
]{style_theorem}
\declaretheoremstyle[%
spaceabove=2pt, spacebelow=2pt,
Expand All @@ -561,30 +562,30 @@

\ifthesis@english
\declaretheorem[name={Proof},style=style_proof,unnumbered,preheadhook={\setlength{\parindent}{5.4em}}]{proof}
\declaretheorem[name={Theorem},style=style_theorem]{theorem}
\declaretheorem[name={Axiom},style=style_theorem]{axiom}
\declaretheorem[name={Corollary},style=style_theorem]{corollary}
\declaretheorem[name={Lemma},style=style_theorem]{lemma}
\declaretheorem[name={Definition},style=style_theorem]{definition}
\declaretheorem[name={Example},style=style_theorem]{example}
\declaretheorem[name={Proposition},style=style_theorem]{proposition}
\declaretheorem[name={Assumption},style=style_theorem]{assumption}
\declaretheorem[name={Remark},style=style_theorem]{remark}
\declaretheorem[name={Problem},style=style_theorem]{problem}
\declaretheorem[name={Conjecture},style=style_theorem]{conjecture}
\declaretheorem[name={Theorem},style=style_theorem,numberwithin=chapter]{theorem}
\declaretheorem[name={Axiom},style=style_theorem,numberlike=theorem]{axiom}
\declaretheorem[name={Corollary},style=style_theorem,numberlike=theorem]{corollary}
\declaretheorem[name={Lemma},style=style_theorem,numberlike=theorem]{lemma}
\declaretheorem[name={Definition},style=style_theorem,numberlike=theorem]{definition}
\declaretheorem[name={Example},style=style_theorem,numberlike=theorem]{example}
\declaretheorem[name={Proposition},style=style_theorem,numberlike=theorem]{proposition}
\declaretheorem[name={Assumption},style=style_theorem,numberlike=theorem]{assumption}
\declaretheorem[name={Remark},style=style_theorem,numberlike=theorem]{remark}
\declaretheorem[name={Problem},style=style_theorem,numberlike=theorem]{problem}
\declaretheorem[name={Conjecture},style=style_theorem,numberlike=theorem]{conjecture}
\else
\declaretheorem[name={证明},style=style_proof,unnumbered,preheadhook={\setlength{\parindent}{5.1em}}]{proof}
\declaretheorem[name={定理},style=style_theorem]{theorem}
\declaretheorem[name={公理},style=style_theorem]{axiom}
\declaretheorem[name={推论},style=style_theorem]{corollary}
\declaretheorem[name={引理},style=style_theorem]{lemma}
\declaretheorem[name={定义},style=style_theorem]{definition}
\declaretheorem[name={例子},style=style_theorem]{example}
\declaretheorem[name={命题},style=style_theorem]{proposition}
\declaretheorem[name={假设},style=style_theorem]{assumption}
\declaretheorem[name={注},style=style_theorem]{remark}
\declaretheorem[name={问题},style=style_theorem]{problem}
\declaretheorem[name={猜想},style=style_theorem]{conjecture}
\declaretheorem[name={定理},style=style_theorem,numberwithin=chapter]{theorem}
\declaretheorem[name={公理},style=style_theorem,numberlike=theorem]{axiom}
\declaretheorem[name={推论},style=style_theorem,numberlike=theorem]{corollary}
\declaretheorem[name={引理},style=style_theorem,numberlike=theorem]{lemma}
\declaretheorem[name={定义},style=style_theorem,numberlike=theorem]{definition}
\declaretheorem[name={例子},style=style_theorem,numberlike=theorem]{example}
\declaretheorem[name={命题},style=style_theorem,numberlike=theorem]{proposition}
\declaretheorem[name={假设},style=style_theorem,numberlike=theorem]{assumption}
\declaretheorem[name={注},style=style_theorem,numberlike=theorem]{remark}
\declaretheorem[name={问题},style=style_theorem,numberlike=theorem]{problem}
\declaretheorem[name={猜想},style=style_theorem,numberlike=theorem]{conjecture}
\fi


Expand Down

0 comments on commit 9ab32b6

Please sign in to comment.