texlive[62657] Master/texmf-dist: create-theorem (12mar22)

commits+karl at tug.org commits+karl at tug.org
Sat Mar 12 21:33:28 CET 2022


Revision: 62657
          http://tug.org/svn/texlive?view=revision&revision=62657
Author:   karl
Date:     2022-03-12 21:33:28 +0100 (Sat, 12 Mar 2022)
Log Message:
-----------
create-theorem (12mar22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.pdf
    trunk/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.tex
    trunk/Master/texmf-dist/tex/latex/create-theorem/create-theorem.sty

Modified: trunk/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.tex	2022-03-12 20:33:10 UTC (rev 62656)
+++ trunk/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.tex	2022-03-12 20:33:28 UTC (rev 62657)
@@ -85,7 +85,7 @@
 
 \begin{document}
 
-\def\PackageVersion{2022/03/10}
+\def\PackageVersion{2022/03/11}
 
 \title{\createtheorempackage{}\\\smallskip\itshape Initializing theorem-like environments with multilingual support}
 \author{Jinwen XU}
@@ -287,7 +287,7 @@
 \end{center}
 
 \begin{tip}
-    The names for the following environments have been preset: \texttt{assertion}, \texttt{assumption}, \texttt{axiom}, \texttt{conclusion}, \texttt{conjecture}, \texttt{convention}, \texttt{corollary}, \texttt{definition}, \texttt{example}, \texttt{exercise}, \texttt{fact}, \texttt{hypothesis}, \texttt{lemma}, \texttt{notation}, \texttt{observation}, \texttt{postulate}, \texttt{problem}, \texttt{property}, \texttt{proposition}, \texttt{question}, \texttt{remark} and \texttt{theorem}. If you are fine with the preset names, then you don't need to specify the key ``\commandoption{name}'' while creating them, otherwise you shall have to use the package option ``\packageoption{no preset names}'' to disable the presets and then define your own ones.
+    The names for the following environments have been preset: \texttt{assertion}, \texttt{assumption}, \texttt{axiom}, \texttt{conclusion}, \texttt{conjecture}, \texttt{convention}, \texttt{corollary}, \texttt{definition}, \texttt{definition-proposition}, \texttt{definition-theorem}, \texttt{example}, \texttt{exercise}, \texttt{fact}, \texttt{hypothesis}, \texttt{lemma}, \texttt{notation}, \texttt{observation}, \texttt{postulate}, \texttt{problem}, \texttt{property}, \texttt{proposition}, \texttt{question}, \texttt{remark} and \texttt{theorem}. If you are fine with the preset names, then you don't need to specify the key ``\commandoption{name}'' while creating them, otherwise you shall have to use the package option ``\packageoption{no preset names}'' to disable the presets and then define your own ones.
 \end{tip}
 
 \medskip
@@ -440,7 +440,7 @@
     \item There may be inaccuracies in the translation of those preset names.
 \end{itemize}
 
-\medskip
+% \medskip
 If you run into any issues or have ideas for improvement, feel free to discuss on:
 \begin{center}
     \url{https://github.com/Jinwen-XU/create-theorem/issues}

Modified: trunk/Master/texmf-dist/tex/latex/create-theorem/create-theorem.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/create-theorem/create-theorem.sty	2022-03-12 20:33:10 UTC (rev 62656)
+++ trunk/Master/texmf-dist/tex/latex/create-theorem/create-theorem.sty	2022-03-12 20:33:28 UTC (rev 62657)
@@ -13,7 +13,7 @@
 \RequirePackage{l3keys2e}
 \ProvidesExplPackage
   {create-theorem}
-  {2022/03/10} {}
+  {2022/03/11} {}
   {Initializing theorem-like environments with multilingual support}
 
 \keys_define:nn { create-theorem }
@@ -199,8 +199,8 @@
   {
     \tl_if_blank:eTF { #3 }
       {
-        \tl_gset:cn { g_crthm_name_ #7 ref_article_singular_ #1 _ #2 _tl } { \crefthemark{ \skip_horizontal:n { -1ex } } }
-        \tl_gset:cn { g_crthm_name_ #7 ref_article_plural_ #1 _ #2 _tl } { \crefthemark{ \skip_horizontal:n { -1ex } } }
+        \tl_gset:cn { g_crthm_name_ #7 ref_article_singular_ #1 _ #2 _tl } { \crefthemark{ \skip_horizontal:n { -.5ex } } }
+        \tl_gset:cn { g_crthm_name_ #7 ref_article_plural_ #1 _ #2 _tl } { \crefthemark{ \skip_horizontal:n { -.5ex } } }
       }
       {
         \tl_gset:cn { g_crthm_name_ #7 ref_article_singular_ #1 _ #2 _tl } { \crefthemark { #3 } }
@@ -1699,7 +1699,92 @@
                   }
   }
 
+\NameTheorem { definition-proposition }
+  {
+    , heading =   {
+                    , english     = Definition-Proposition
+                    , french      = Définition-Proposition
+                    , ngerman     = Definition-Proposition
+                    , italian     = Definizione-Proposizione
+                    , portuguese  = Definição-Proposição
+                    , brazilian   = Definição-Proposição
+                    , spanish     = Definición-Proposición
+                    , schinese    = 定义-命题
+                    , tchinese    = 定義-命題
+                    , japanese    = 定義-命題
+                    , russian     = Определение-Предложение
+                  }
+    , crefname =  {
+                    , english     = {definition-proposition}{definition-propositions}
+                    , french      = [la]{définition-proposition}[les]{définition-propositions}
+                    , ngerman     = {Definition-Proposition}{Definitionen-Propositionen}
+                    , italian     = [la]{definizione-proposizione}[le]{definizioni-proposte}
+                    , portuguese  = [a]{definição-proposição}[as]{definições-proposições}
+                    , brazilian   = [a]{definição-proposição}[as]{definições-proposições}
+                    , spanish     = [la]{definición-proposición}[las]{definiciones-proposiciones}
+                    , schinese    = {定义-命题}{定义-命题}
+                    , tchinese    = {定義-命題}{定義-命題}
+                    , japanese    = {定義-命題}{定義-命題}
+                    , russian     = {определение-предложение}{определения-предложения}
+                  }
+    , Crefname =  {
+                    , english     = {Definition-proposition}{Definition-propositions}
+                    , french      = [La]{définition-proposition}[Les]{définition-propositions}
+                    , ngerman     = {Definition-Proposition}{Definitionen-Propositionen}
+                    , italian     = [La]{definizione-proposizione}[Le]{definizioni-proposte}
+                    , portuguese  = [A]{definição-proposição}[As]{definições-proposições}
+                    , brazilian   = [A]{definição-proposição}[As]{definições-proposições}
+                    , spanish     = [La]{definición-proposición}[Las]{definiciones-proposiciones}
+                    , schinese    = {定义-命题}{定义-命题}
+                    , tchinese    = {定義-命題}{定義-命題}
+                    , japanese    = {定義-命題}{定義-命題}
+                    , russian     = {Определение-предложение}{Определения-предложения}
+                  }
+  }
 
+\NameTheorem { definition-theorem }
+  {
+    , heading =   {
+                    , english     = Definition-Theorem
+                    , french      = Définition-Théorème
+                    , ngerman     = Definition-Satz
+                    , italian     = Definizione-Teorema
+                    , portuguese  = Definição-Teorema
+                    , brazilian   = Definição-Teorema
+                    , spanish     = Definición-Teorema
+                    , schinese    = 定义-定理
+                    , tchinese    = 定義-定理
+                    , japanese    = 定義-定理
+                    , russian     = Определение-Теорема
+                  }
+    , crefname =  {
+                    , english     = {definition-theorem}{definition-theorems}
+                    , french      = [la]{définition-théorème}[les]{définition-théorèmes}
+                    , ngerman     = {Definition-Satz}{Definitionen-Sätze}
+                    , italian     = [la]{definizione-teorema}[le]{definizioni-teoremi}
+                    , portuguese  = [a]{definição-teorema}[as]{definições-teoremas}
+                    , brazilian   = [a]{definição-teorema}[as]{definições-teoremas}
+                    , spanish     = [la]{definición-teorema}[las]{definiciones-teoremas}
+                    , schinese    = {定义-定理}{定义-定理}
+                    , tchinese    = {定義-定理}{定義-定理}
+                    , japanese    = {定義-定理}{定義-定理}
+                    , russian     = {определение-теорема}{определения-теоремы}
+                  }
+    , Crefname =  {
+                    , english     = {Definition-theorem}{Definition-theorems}
+                    , french      = [La]{définition-théorème}[Les]{définition-théorèmes}
+                    , ngerman     = {Definition-Satz}{Definitionen-Sätze}
+                    , italian     = [La]{definizione-teorema}[Le]{definizioni-teoremi}
+                    , portuguese  = [A]{definição-teorema}[As]{definições-teoremas}
+                    , brazilian   = [A]{definição-teorema}[As]{definições-teoremas}
+                    , spanish     = [La]{definición-teorema}[Las]{definiciones-teoremas}
+                    , schinese    = {定义-定理}{定义-定理}
+                    , tchinese    = {定義-定理}{定義-定理}
+                    , japanese    = {定義-定理}{定義-定理}
+                    , russian     = {Определение-теорема}{Определения-теоремы}
+                  }
+  }
+
 \endinput
 %%
 %% End of file `create-theorem.sty'.



More information about the tex-live-commits mailing list.