Commit 0713712e authored by liziwl's avatar liziwl
Browse files

移动加粗命令到包定义处

parent 9e81d54d
Loading
Loading
Loading
Loading
+35 −18
Original line number Diff line number Diff line
@@ -2166,20 +2166,20 @@
      \def\thu@algorithm@name{Algorithm}%
      \def\thu@equation@name{Equation}% 仅在listofequations中使用
      % 以下环境均为正文中使用的定理环境
      \def\thu@assumption@name{\textbf{Assumption}}%
      \def\thu@definition@name{\textbf{Definition}}%
      \def\thu@proposition@name{\textbf{Proposition}}%
      \def\thu@lemma@name{\textbf{Lemma}}%
      \def\thu@theorem@name{\textbf{Theorem}}%
      \def\thu@axiom@name{\textbf{Axiom}}%
      \def\thu@corollary@name{\textbf{Corollary}}%
      \def\thu@exercise@name{\textbf{Exercise}}%
      \def\thu@example@name{\textbf{Example}}%
      \def\thu@remark@name{\textbf{Remark}}%
      \def\thu@problem@name{\textbf{Problem}}%
      \def\thu@conjecture@name{\textbf{Conjecture}}%
      \def\thu@proof@name{\textbf{Proof}}%
      \def\thu@theorem@separator{\textbf{: }}%
      \def\thu@assumption@name{Assumption}%
      \def\thu@definition@name{Definition}%
      \def\thu@proposition@name{Proposition}%
      \def\thu@lemma@name{Lemma}%
      \def\thu@theorem@name{Theorem}%
      \def\thu@axiom@name{Axiom}%
      \def\thu@corollary@name{Corollary}%
      \def\thu@exercise@name{Exercise}%
      \def\thu@example@name{Example}%
      \def\thu@remark@name{Remark}%
      \def\thu@problem@name{Problem}%
      \def\thu@conjecture@name{Conjecture}%
      \def\thu@proof@name{Proof}%
      \def\thu@theorem@separator{: }%
    \fi
  \fi
}
@@ -5396,12 +5396,21 @@ Thesis for the degree of \degree@level@en@noun \ of \thu@degree@domain@en%
% 定理标题使用黑体,正文使用宋体,冒号隔开。
%    \begin{macrocode}
\AtEndOfPackageFile*{amsthm}{%
  \newtheoremstyle{thu}
  \newtheoremstyle{thu@cn}
    {\z@}{\z@}
    {\normalfont}{\z@}
    {\normalfont\sffamily}{\thu@theorem@separator}
    {0.5em}{}
  \theoremstyle{thu}
  \newtheoremstyle{thu@en}
    {\z@}{\z@}
    {\normalfont}{\z@}
    {\normalfont\sffamily\bfseries}{\bfseries\thu@theorem@separator}
    {0.5em}{\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}}
  \ifthu@language@chinese
    \theoremstyle{thu@cn}
  \else
    \theoremstyle{thu@en}
  \fi
  \newtheorem{assumption}{\thu@assumption@name}[chapter]%
  \newtheorem{definition}{\thu@definition@name}[chapter]%
  \newtheorem{proposition}{\thu@proposition@name}[chapter]%
@@ -5422,7 +5431,11 @@ Thesis for the degree of \degree@level@en@noun \ of \thu@degree@domain@en%
    \item[\hskip\labelsep
      %     \itshape
      % #1\@addpunct{.}]\ignorespaces
      \ifthu@language@chinese
        \sffamily
      \else
        \sffamily\bfseries
      \fi
      #1\@addpunct{\thu@theorem@separator}]\ignorespaces
  }{%
    \popQED\endtrivlist\@endpefalse
@@ -5437,7 +5450,11 @@ Thesis for the degree of \degree@level@en@noun \ of \thu@degree@domain@en%
%    \begin{macrocode}
\AtEndOfPackageFile*{ntheorem}{%
  \theorembodyfont{\normalfont}%
  \ifthu@language@chinese
    \theoremheaderfont{\normalfont\sffamily}%
  \else
    \theoremheaderfont{\normalfont\sffamily\bfseries}%
  \fi
  \theoremsymbol{\ensuremath{\QED}}%
  \newtheorem*{proof}{\thu@proof@name}%
  \theoremstyle{plain}%