Commit b0880b31 authored by liziwl's avatar liziwl
Browse files

小于等于号倾斜模式仅限中文生效

parent e2f3a4b6
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -2531,14 +2531,16 @@
% \begin{macro}{\ge}
% \begin{macro}{\leq}
% \begin{macro}{\geq}
% 小于等于号要使用倾斜的形式。
% 小于等于号要使用倾斜的形式,仅中文生效
%    \begin{macrocode}
\ifthu@language@chinese
  \protected\def\le{\leqslant}
  \protected\def\ge{\geqslant}
  \AtBeginDocument{%
    \renewcommand\leq{\leqslant}%
    \renewcommand\geq{\geqslant}%
  }
\fi
%    \end{macrocode}
% \end{macro}
% \end{macro}