From d7e7ffbd60ec793df794f8483ac925c1c518eb14 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 11 Mar 2018 20:27:11 +0000 Subject: thaispec (10mar18) git-svn-id: svn://tug.org/texlive/trunk@46923 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/thaispec/thaispec.sty | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/thaispec') 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 -- cgit v1.2.3