summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/thaispec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-11 20:27:11 +0000
committerKarl Berry <karl@freefriends.org>2018-03-11 20:27:11 +0000
commitd7e7ffbd60ec793df794f8483ac925c1c518eb14 (patch)
tree4cd900d4a5891f8b08acb526221cedaad4aba5b9 /Master/texmf-dist/tex/latex/thaispec
parentecd38b6aed911b2332d01f45bb01dee5d0a9bde7 (diff)
thaispec (10mar18)
git-svn-id: svn://tug.org/texlive/trunk@46923 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/thaispec')
-rw-r--r--Master/texmf-dist/tex/latex/thaispec/thaispec.sty12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/thaispec/thaispec.sty b/Master/texmf-dist/tex/latex/thaispec/thaispec.sty
index 25f728265b7..0390fea0cfb 100644
--- a/Master/texmf-dist/tex/latex/thaispec/thaispec.sty
+++ b/Master/texmf-dist/tex/latex/thaispec/thaispec.sty
@@ -7,7 +7,7 @@
%% thaispec.dtx (with options: `thaispec.sty,package')
%%
%% thaispec.dtx
-%% Copyright 2018 Ratthaprom Promkam
+%% Copyright 2018 Ratthaprom_Promkam
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -19,7 +19,7 @@
%%
%% This work has the LPPL maintenance status `maintained'.
%%
-%% The Current Maintainer of this work is Ratthaprom Promkam.
+%% The Current Maintainer of this work is Ratthaprom_Promkam.
%%
%% This work consists of the files thaispec.dtx and thaispec.ins and the derived file thaispec.sty.
%%
@@ -58,7 +58,7 @@
%%
%%\end{lstlisting}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{thaispec}[2018/02/25 version 0.2 thaispec]
+\ProvidesPackage{thaispec}[2018/03/29 version 0.3 thaispec]
\RequirePackage{kvoptions}
\RequirePackage[no-math]{fontspec}
@@ -189,9 +189,9 @@ prefix=THL@
\def\today{\DTMfetchday{now}\ \dtmonth\ พ.ศ. \theyearbd}
}
-
\ifTHL@thaithm
-\AfterPackage{amsthm}{%
+\@ifpackageloaded{amsthm}
+{%
\IfStrEqCase{\THL@thmcount}{%
{default}{%
\newtheorem{theorem}{ทฤษฎีบท}
@@ -307,7 +307,7 @@ prefix=THL@
}%
}%
\xpatchcmd{\@thm}{\thm@headpunct{.}}{\thm@headpunct{}}{}{}
-}
+}{}
\fi
\endinput