diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLauthor.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLdate.sty | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLdraft.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLlang.sty | 203 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLlogo.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLmath.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLpaper.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLthm.sty | 55 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/ProjLib.sty | 6 |
9 files changed, 121 insertions, 161 deletions
diff --git a/Master/texmf-dist/tex/latex/projlib/PJLauthor.sty b/Master/texmf-dist/tex/latex/projlib/PJLauthor.sty index 51ee7130dab..704025f2ee7 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLauthor.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLauthor.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLauthor} - [2021/08/07a Enhanced author information block] + [2021/08/11 Enhanced author information block] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \ifdefined\subjclass\endinput\fi diff --git a/Master/texmf-dist/tex/latex/projlib/PJLdate.sty b/Master/texmf-dist/tex/latex/projlib/PJLdate.sty index 59a64e23720..e9ff67c48a7 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLdate.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLdate.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLdate} - [2021/08/07a Convert yyyy-mm-dd to normal datetime format] + [2021/08/11 Convert yyyy-mm-dd to normal datetime format] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{ @@ -47,19 +47,19 @@ \gappto{\PJLlang@langconfig@common}{% \let\@DTMdate\@DTMdate@PJLoriginal% } -\gappto{\PJLlang@langconfig@schinese}{% +\gappto{\PJLlang@langconfig@CN}{% \renewcommand*{\@DTMdate}[1]{% \expandafter\@dtm@parsedate#1\@dtm@endparsedate% \zhdate{\@dtm@year/\@dtm@month/\@dtm@day}% }% } -\gappto{\PJLlang@langconfig@tchinese}{% +\gappto{\PJLlang@langconfig@TC}{% \renewcommand*{\@DTMdate}[1]{% \expandafter\@dtm@parsedate#1\@dtm@endparsedate% \zhdate{\@dtm@year/\@dtm@month/\@dtm@day}% }% } -\gappto{\PJLlang@langconfig@japanese}{% +\gappto{\PJLlang@langconfig@JP}{% \renewcommand*{\@DTMdate}[1]{% \expandafter\@dtm@parsedate#1\@dtm@endparsedate% \zhdate{\@dtm@year/\@dtm@month/\@dtm@day}% diff --git a/Master/texmf-dist/tex/latex/projlib/PJLdraft.sty b/Master/texmf-dist/tex/latex/projlib/PJLdraft.sty index 0aab3270b06..a4c651a3a45 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLdraft.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLdraft.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLdraft} - [2021/08/07a Some useful macros for the draft stage] + [2021/08/11 Some useful macros for the draft stage] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{ diff --git a/Master/texmf-dist/tex/latex/projlib/PJLlang.sty b/Master/texmf-dist/tex/latex/projlib/PJLlang.sty index 11d6507c454..5e7f5be7f6d 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLlang.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLlang.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLlang} - [2021/08/07a Multi-language configuration] + [2021/08/11 Multi-language configuration] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{% @@ -119,6 +119,74 @@ \newcommand\japaneseABBR{JP} \newcommand\russianABBR{RU} +\ExplSyntaxOn +\NewExpandableDocumentCommand{\StrToABBR}{m} + { + \str_case_e:nn { \str_foldcase:n { #1 } } + { + {cn} {CN} + {chinese} {CN} + {schinese} {CN} + {simplifiedchinese} {CN} + {tc} {TC} + {tchinese} {TC} + {traditionalchinese} {TC} + {jp} {JP} + {japanese} {JP} + {en} {EN} + {english} {EN} + {fr} {FR} + {french} {FR} + {de} {DE} + {ngerman} {DE} + {it} {IT} + {italian} {IT} + {pt} {PT} + {portuguese} {PT} + {br} {BR} + {brazilian} {BR} + {es} {ES} + {spanish} {ES} + {german} {DE} + {ru} {RU} + {russian} {RU} + } + } + +\NewExpandableDocumentCommand{\StrToTYPE}{m} + { + \str_case_e:nn { \str_foldcase:n { #1 } } + { + {cn} {CJK} + {chinese} {CJK} + {schinese} {CJK} + {simplifiedchinese} {CJK} + {tc} {CJK} + {tchinese} {CJK} + {traditionalchinese} {CJK} + {jp} {CJK} + {japanese} {CJK} + {en} {Latin} + {english} {Latin} + {fr} {Latin} + {french} {Latin} + {de} {Latin} + {ngerman} {Latin} + {it} {Latin} + {italian} {Latin} + {pt} {Latin} + {portuguese} {Latin} + {br} {Latin} + {brazilian} {Latin} + {es} {Latin} + {spanish} {Latin} + {german} {Latin} + {ru} {Latin} + {russian} {Latin} + } + } +\ExplSyntaxOff + \RequirePackage{iftex} \ifPDFTeX \RequirePackage[T1]{fontenc} @@ -168,7 +236,7 @@ \fi% } -\newcommand{\PJLlang@langconfig@schinese}{% +\newcommand{\PJLlang@langconfig@CN}{% \def\abstractname{摘要}% \def\proofname{证明}% \def\contentsname{目录}% @@ -183,7 +251,7 @@ \let\today\zhtoday% \renewcommand{\languagename}{schinese}% } -\newcommand{\PJLlang@langconfig@tchinese}{% +\newcommand{\PJLlang@langconfig@TC}{% \def\abstractname{摘要}% \def\proofname{證明}% \def\contentsname{目錄}% @@ -198,69 +266,39 @@ \let\today\zhtoday% \renewcommand{\languagename}{tchinese}% } -\newcommand{\PJLlang@langconfig@japanese}{% +\newcommand{\PJLlang@langconfig@JP}{% \selectlanguage{japanese}% } -\newcommand{\PJLlang@langconfig@english}{% +\newcommand{\PJLlang@langconfig@EN}{% \selectlanguage{english}% } -\newcommand{\PJLlang@langconfig@french}{% +\newcommand{\PJLlang@langconfig@FR}{% \selectlanguage{french}% \def\frenchpartname{Partie}% } -\newcommand{\PJLlang@langconfig@german}{% +\newcommand{\PJLlang@langconfig@DE}{% \selectlanguage{ngerman}% } -\newcommand{\PJLlang@langconfig@italian}{% +\newcommand{\PJLlang@langconfig@IT}{% \selectlanguage{italian}% } -\newcommand{\PJLlang@langconfig@portuguese}{% +\newcommand{\PJLlang@langconfig@PT}{% \selectlanguage{portuguese}% } -\newcommand{\PJLlang@langconfig@brazilian}{% +\newcommand{\PJLlang@langconfig@BR}{% \selectlanguage{brazilian}% } -\newcommand{\PJLlang@langconfig@spanish}{% +\newcommand{\PJLlang@langconfig@ES}{% \selectlanguage{spanish}% } -\newcommand{\PJLlang@langconfig@russian}{% +\newcommand{\PJLlang@langconfig@RU}{% \selectlanguage{russian}% } -\RequirePackage{xstring} \NewDocumentCommand\AddLanguageSetting{d()m}{% \IfNoValueTF{#1}% {\gappto{\PJLlang@langconfig@common}{#2}}% - {% - \lowercase{\IfStrEqCase{#1}}{% - {cn}{\gappto{\PJLlang@langconfig@schinese}{#2}}% - {chinese}{\gappto{\PJLlang@langconfig@schinese}{#2}}% - {schinese}{\gappto{\PJLlang@langconfig@schinese}{#2}}% - {simplifiedchinese}{\gappto{\PJLlang@langconfig@schinese}{#2}}% - {tc}{\gappto{\PJLlang@langconfig@tchinese}{#2}}% - {tchinese}{\gappto{\PJLlang@langconfig@tchinese}{#2}}% - {traditionalchinese}{\gappto{\PJLlang@langconfig@tchinese}{#2}}% - {jp}{\gappto{\PJLlang@langconfig@japanese}{#2}}% - {japanese}{\gappto{\PJLlang@langconfig@japanese}{#2}}% - {en}{\gappto{\PJLlang@langconfig@english}{#2}}% - {english}{\gappto{\PJLlang@langconfig@english}{#2}}% - {fr}{\gappto{\PJLlang@langconfig@french}{#2}}% - {french}{\gappto{\PJLlang@langconfig@french}{#2}}% - {de}{\gappto{\PJLlang@langconfig@german}{#2}}% - {ngerman}{\gappto{\PJLlang@langconfig@german}{#2}}% - {it}{\gappto{\PJLlang@langconfig@italian}{#2}}% - {italian}{\gappto{\PJLlang@langconfig@italian}{#2}}% - {pt}{\gappto{\PJLlang@langconfig@portuguese}{#2}}% - {portuguese}{\gappto{\PJLlang@langconfig@portuguese}{#2}}% - {br}{\gappto{\PJLlang@langconfig@brazilian}{#2}}% - {brazilian}{\gappto{\PJLlang@langconfig@brazilian}{#2}}% - {es}{\gappto{\PJLlang@langconfig@spanish}{#2}}% - {spanish}{\gappto{\PJLlang@langconfig@spanish}{#2}}% - {german}{\gappto{\PJLlang@langconfig@german}{#2}}% - {ru}{\gappto{\PJLlang@langconfig@russian}{#2}}% - {russian}{\gappto{\PJLlang@langconfig@russian}{#2}}% - }% - }% + {\expandafter\gappto\expandafter{\csname PJLlang@langconfig@\StrToABBR{#1}\endcsname}{#2}}% } \RequirePackage{setspace} @@ -274,92 +312,27 @@ \newcommand{\PJLsetCJKparindent}[1]{\renewcommand{\PJL@config@CJKparindent}{\ltx@ifpackageloaded{parskip}{}{\setlength{\parindent}{#1}}}} \def\PJL@config@CJK{\PJL@config@CJKlinespacing\PJL@config@CJKparindent} \def\PJL@config@Latin{\PJL@config@linespacing\PJL@config@parindent} -\newcommand{\UseLanguageCORE}[1]{% +\NewDocumentCommand{\UseLanguageCORE}{m}{% \PJLlang@langconfig@common% - \lowercase{\IfStrEqCase{#1}}{% - {cn}{\PJL@config@CJK\PJLlang@langconfig@schinese}% - {chinese}{\PJL@config@CJK\PJLlang@langconfig@schinese}% - {schinese}{\PJL@config@CJK\PJLlang@langconfig@schinese}% - {simplifiedchinese}{\PJL@config@CJK\PJLlang@langconfig@schinese}% - {tc}{\PJL@config@CJK\PJLlang@langconfig@tchinese}% - {tchinese}{\PJL@config@CJK\PJLlang@langconfig@tchinese}% - {traditionalchinese}{\PJL@config@CJK\PJLlang@langconfig@tchinese}% - {jp}{\PJL@config@CJK\PJLlang@langconfig@japanese}% - {japanese}{\PJL@config@CJK\PJLlang@langconfig@japanese}% - {en}{\PJL@config@Latin\PJLlang@langconfig@english}% - {english}{\PJL@config@Latin\PJLlang@langconfig@english}% - {fr}{\PJL@config@Latin\PJLlang@langconfig@french}% - {french}{\PJL@config@Latin\PJLlang@langconfig@french}% - {de}{\PJL@config@Latin\PJLlang@langconfig@german}% - {ngerman}{\PJL@config@Latin\PJLlang@langconfig@german}% - {german}{\PJL@config@Latin\PJLlang@langconfig@german}% - {it}{\PJL@config@Latin\PJLlang@langconfig@italian}% - {italian}{\PJL@config@Latin\PJLlang@langconfig@italian}% - {pt}{\PJL@config@Latin\PJLlang@langconfig@portuguese}% - {portuguese}{\PJL@config@Latin\PJLlang@langconfig@portuguese}% - {br}{\PJL@config@Latin\PJLlang@langconfig@brazilian}% - {brazilian}{\PJL@config@Latin\PJLlang@langconfig@brazilian}% - {es}{\PJL@config@Latin\PJLlang@langconfig@spanish}% - {spanish}{\PJL@config@Latin\PJLlang@langconfig@spanish}% - {ru}{\PJL@config@Latin\PJLlang@langconfig@russian}% - {russian}{\PJL@config@Latin\PJLlang@langconfig@russian}% - }% + \csname PJL@config@\StrToTYPE{#1}\endcsname% + \csname PJLlang@langconfig@\StrToABBR{#1}\endcsname% } -\newcommand{\UseLanguage}[1]{% +\NewDocumentCommand{\UseLanguage}{m}{% \ifx\@onlypreamble\@notprerr% \UseLanguageCORE{#1}% \else% \AfterEndPreamble{\UseLanguageCORE{#1}}% \fi% } -\newcommand{\UseOtherLanguage}[2]{% +\NewDocumentCommand{\UseOtherLanguage}{mm}{% \begingroup\begingroup% \PJLlang@langconfig@common% - \lowercase{\IfStrEqCase{#1}}{% - {cn}{\PJLlang@langconfig@schinese}% - {chinese}{\PJLlang@langconfig@schinese}% - {schinese}{\PJLlang@langconfig@schinese}% - {simplifiedchinese}{\PJLlang@langconfig@schinese}% - {tc}{\PJLlang@langconfig@tchinese}% - {tchinese}{\PJLlang@langconfig@tchinese}% - {traditionalchinese}{\PJLlang@langconfig@tchinese}% - {jp}{\PJLlang@langconfig@japanese}% - {japanese}{\PJLlang@langconfig@japanese}% - {en}{\PJLlang@langconfig@english}% - {english}{\PJLlang@langconfig@english}% - {fr}{\PJLlang@langconfig@french}% - {french}{\PJLlang@langconfig@french}% - {de}{\PJLlang@langconfig@german}% - {ngerman}{\PJLlang@langconfig@german}% - {german}{\PJLlang@langconfig@german}% - {it}{\PJLlang@langconfig@italian}% - {italian}{\PJLlang@langconfig@italian}% - {pt}{\PJLlang@langconfig@portuguese}% - {portuguese}{\PJLlang@langconfig@portuguese}% - {br}{\PJLlang@langconfig@brazilian}% - {brazilian}{\PJLlang@langconfig@brazilian}% - {es}{\PJLlang@langconfig@spanish}% - {spanish}{\PJLlang@langconfig@spanish}% - {ru}{\PJLlang@langconfig@russian}% - {russian}{\PJLlang@langconfig@russian}% - }% + \csname PJLlang@langconfig@\StrToABBR{#1}\endcsname% #2% \endgroup\endgroup% } -\IfStrEqCase{\PJLlang@mainlang}{% - {EN}{\UseLanguage{EN}}% - {FR}{\UseLanguage{FR}}% - {DE}{\UseLanguage{DE}}% - {IT}{\UseLanguage{IT}}% - {PT}{\UseLanguage{PT}}% - {BR}{\UseLanguage{BR}}% - {ES}{\UseLanguage{ES}}% - {CN}{\UseLanguage{CN}}% - {TC}{\UseLanguage{TC}}% - {JP}{\UseLanguage{JP}}% - {RU}{\UseLanguage{RU}}% -} +\expandafter\UseLanguage\expandafter{\PJLlang@mainlang} \endinput %% diff --git a/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty b/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty index f3a635056ca..9c4fe7c1cff 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLlogo} - [2021/08/07a The ProjLib logo] + [2021/08/11 The ProjLib logo] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{ diff --git a/Master/texmf-dist/tex/latex/projlib/PJLmath.sty b/Master/texmf-dist/tex/latex/projlib/PJLmath.sty index 07eb364248b..b0386a32be3 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLmath.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLmath.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLmath} - [2021/08/07a Useful math macros and shortcuts] + [2021/08/11 Useful math macros and shortcuts] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \RequirePackage{mathtools} diff --git a/Master/texmf-dist/tex/latex/projlib/PJLpaper.sty b/Master/texmf-dist/tex/latex/projlib/PJLpaper.sty index 76d34f7ef4e..cf83a126d27 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLpaper.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLpaper.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLpaper} - [2021/08/07a Paper style configuration] + [2021/08/11 Paper style configuration] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \RequirePackage{ifthen} diff --git a/Master/texmf-dist/tex/latex/projlib/PJLthm.sty b/Master/texmf-dist/tex/latex/projlib/PJLthm.sty index e3932e9e157..d36e31122e8 100644 --- a/Master/texmf-dist/tex/latex/projlib/PJLthm.sty +++ b/Master/texmf-dist/tex/latex/projlib/PJLthm.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{PJLthm} - [2021/08/07a Theorem setup and configuration] + [2021/08/11 Theorem setup and configuration] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{% @@ -25,6 +25,7 @@ prefix = @PJLthm@ } \DeclareBoolOption[false]{nothms} +\DeclareBoolOption[false]{delaythms} \DeclareBoolOption[false]{nothmnum} \DeclareStringOption{thmnum}[PJL@thmnum@default] \DeclareBoolOption[false]{draft} @@ -54,34 +55,8 @@ \expandafter\StrGobbleRight\expandafter{\PJLthm@temp}{1}[\PJLthm@temp]% }{}% \IfValueTF{#1}{% - \lowercase{\IfStrEqCase{#1}}{% - {cn}{\def\PJL@temp@abbr{CN}}% - {chinese}{\def\PJL@temp@abbr{CN}}% - {schinese}{\def\PJL@temp@abbr{CN}}% - {simplifiedchinese}{\def\PJL@temp@abbr{CN}}% - {tc}{\def\PJL@temp@abbr{TC}}% - {tchinese}{\def\PJL@temp@abbr{TC}}% - {traditionalchinese}{\def\PJL@temp@abbr{TC}}% - {jp}{\def\PJL@temp@abbr{JP}}% - {japanese}{\def\PJL@temp@abbr{JP}}% - {en}{\def\PJL@temp@abbr{EN}}% - {english}{\def\PJL@temp@abbr{EN}}% - {fr}{\def\PJL@temp@abbr{FR}}% - {french}{\def\PJL@temp@abbr{FR}}% - {de}{\def\PJL@temp@abbr{DE}}% - {ngerman}{\def\PJL@temp@abbr{DE}}% - {german}{\def\PJL@temp@abbr{DE}}% - {it}{\def\PJL@temp@abbr{IT}}% - {italian}{\def\PJL@temp@abbr{IT}}% - {pt}{\def\PJL@temp@abbr{PT}}% - {portuguese}{\def\PJL@temp@abbr{PT}}% - {br}{\def\PJL@temp@abbr{BR}}% - {brazilian}{\def\PJL@temp@abbr{BR}}% - {es}{\def\PJL@temp@abbr{ES}}% - {spanish}{\def\PJL@temp@abbr{ES}}% - {ru}{\def\PJL@temp@abbr{RU}}% - {russian}{\def\PJL@temp@abbr{RU}}% - }% + \expandafter\def\expandafter\PJL@temp@abbr\expandafter% + {\expandafter\StrToABBR\expandafter{#1}}% \expandafter\def\csname\PJLthm@temp name\PJL@temp@abbr\endcsname{#3}% }{% \expandafter\def\csname\PJLthm@temp nameEN\endcsname{#3}% @@ -524,7 +499,8 @@ } } } -\AtEndPreamble{ + +\def\PJLthm@definethms{ \if@PJLthm@nothms\else \if@PJLthm@nothmnum \CreateTheorem*{theorem} @@ -603,7 +579,6 @@ \CreateTheorem*{remark*} \CreateTheorem*{observation*} \fi -} \expandafter\ifstrempty\expandafter{\@PJLthm@thmnum}{ \numberwithin{equation}{PJLthm@highest} @@ -614,7 +589,15 @@ } } -\gappto{\PJLlang@langconfig@schinese}{% +} % End of \PJLthm@definethms + +\if@PJLthm@delaythms + \AtEndPreamble{\PJLthm@definethms} +\else + \PJLthm@definethms +\fi + +\gappto{\PJLlang@langconfig@CN}{% \crefname{equation}{式}{式}% \crefname{figure}{图}{图}% \crefname{table}{表}{表}% @@ -631,7 +614,7 @@ \def\creflastgroupconjunction{~和~}% \def\crefrangeconjunction{~}% } -\gappto{\PJLlang@langconfig@tchinese}{% +\gappto{\PJLlang@langconfig@TC}{% \crefname{equation}{式}{式}% \crefname{figure}{圖}{圖}% \crefname{table}{表}{表}% @@ -648,7 +631,7 @@ \def\creflastgroupconjunction{~與~}% \def\crefrangeconjunction{~}% } -\gappto{\PJLlang@langconfig@japanese}{% +\gappto{\PJLlang@langconfig@JP}{% \crefname{equation}{式}{式}% \crefname{figure}{図}{図}% \crefname{table}{表}{表}% @@ -665,7 +648,7 @@ \def\creflastgroupconjunction{~と~}% \def\crefrangeconjunction{〜}% } -\gappto{\PJLlang@langconfig@russian}{% +\gappto{\PJLlang@langconfig@RU}{% \crefname{equation}{уравнение}{уравнения}% \crefname{figure}{рис.}{рис.}% \crefname{table}{таблица}{таблицы}% @@ -682,7 +665,7 @@ \def\creflastgroupconjunction{~и~}% \def\crefrangeconjunction{~\textasciitilde~}% } -\gappto{\PJLlang@langconfig@portuguese}{% +\gappto{\PJLlang@langconfig@PT}{% \crefname{equation}{eq.}{eqs.}% \crefname{figure}{fig.}{figs.}% \crefname{table}{tabela}{tabelas}% diff --git a/Master/texmf-dist/tex/latex/projlib/ProjLib.sty b/Master/texmf-dist/tex/latex/projlib/ProjLib.sty index e1115774372..89a13b33837 100644 --- a/Master/texmf-dist/tex/latex/projlib/ProjLib.sty +++ b/Master/texmf-dist/tex/latex/projlib/ProjLib.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{ProjLib} - [2021/08/07a The collective interface of ProjLib toolkit] + [2021/08/11 The collective interface of ProjLib toolkit] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{ @@ -29,6 +29,7 @@ \DeclareBoolOption[false]{author} \DeclareBoolOption[false]{amsfashion} \DeclareBoolOption[false]{nothms} +\DeclareBoolOption[false]{delaythms} \DeclareBoolOption[false]{nothmnum} \DeclareStringOption{thmnum}[PJL@thmnum@default] \DeclareBoolOption[true]{regionalref} @@ -57,6 +58,9 @@ \if@ProjLib@nothms \PassOptionsToPackage{nothms}{PJLthm} \fi +\if@ProjLib@delaythms + \PassOptionsToPackage{delaythms}{PJLthm} +\fi \if@ProjLib@nothmnum \PassOptionsToPackage{nothmnum}{PJLthm} \fi |