summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/amscls/amsthm.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/amscls/amsthm.sty')
-rw-r--r--Master/texmf-dist/tex/latex/amscls/amsthm.sty18
1 files changed, 12 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/amscls/amsthm.sty b/Master/texmf-dist/tex/latex/amscls/amsthm.sty
index ef7c83f3481..6a6805e1bd3 100644
--- a/Master/texmf-dist/tex/latex/amscls/amsthm.sty
+++ b/Master/texmf-dist/tex/latex/amscls/amsthm.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright 1995, 199, 2004, 2009 American Mathematical Society.
+%% Copyright 1995, 199, 2004, 2009, 2015 American Mathematical Society.
%%
%% American Mathematical Society
%% Technical Support
@@ -28,7 +28,7 @@
%%
\NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
[1995/06/01]% LaTeX date must be June 1995 or later
-\ProvidesPackage{amsthm}[2009/07/02 v2.20.1]
+\ProvidesPackage{amsthm}[2015/03/04 v2.20.2]
\let\@xp=\expandafter
\let\@nx=\noexpand
\def\@oparg#1[#2]{\@ifnextchar[{#1}{#1[#2]}}
@@ -381,10 +381,16 @@
}{%
\def\equation@qed{\displaymath@qed}%
}
- \def\@tempa#1$#2#3\@nil{%
- \def\[{#1$#2\def\@currenvir{displaymath}#3}%
- }%
- \expandafter\@tempa\[\@nil
+ \def\@tempa#1$#2#3\@nil#4{%
+ \def#4{#1$#2\def\@currenvir{displaymath}#3}%
+ }%
+ \expandafter\ifx\csname[ \endcsname\relax
+ \expandafter\@tempa\[\@nil\[%
+ \else
+ \expandafter\expandafter\expandafter\@tempa\csname[
+ \expandafter\endcsname\expandafter\@nil
+ \csname[ \endcsname
+ \fi
}
\@ifpackageloaded{amstex}{%
\def\@tempa{TT}%