texlive[63120] Master/texmf-dist: create-theorem (24apr22)

commits+karl at tug.org commits+karl at tug.org
Sun Apr 24 22:10:31 CEST 2022


Revision: 63120
          http://tug.org/svn/texlive?view=revision&revision=63120
Author:   karl
Date:     2022-04-24 22:10:31 +0200 (Sun, 24 Apr 2022)
Log Message:
-----------
create-theorem (24apr22)

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-04-24 03:42:26 UTC (rev 63119)
+++ trunk/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.tex	2022-04-24 20:10:31 UTC (rev 63120)
@@ -97,7 +97,7 @@
 
 \begin{document}
 
-\def\PackageVersion{2022/04/16}
+\def\PackageVersion{2022/04/23}
 
 \title{\createtheorempackage{}\\\smallskip\itshape Initializing theorem-like environments with multilingual support}
 \author{Jinwen XU}
@@ -138,12 +138,12 @@
     %     \end{itemize}
     \item \packageoption{name as context}
         \begin{itemize}
-            \item When referencing, the names correspond to the current language context. For example, the English names will be displayed when referencing a theorem-like environment in English context, no matter which language context the original environment is in.
+            \item When referencing, the resulted names correspond to the current context. For example, the English names will be displayed when referencing a theorem-like environment in English context, no matter which linguistic context the original environment is in.
             \item Synonymous names: \packageoption{name-as-context} \,$|$\, \packageoption{nameascontext} \,$|$\, \packageoption{regionalref}
         \end{itemize}
     \item \packageoption{name as is}
         \begin{itemize}
-            \item When referencing, the names correspond to the language contexts in which the environments are defined. For example, if the environment is defined in English context, then the English names will be displayed when referencing it, regardless of the current language context.
+            \item When referencing, the resulted names correspond to the contexts in which the corresponding environments appeared. For example, if the environment is written in an English context, then it shall always be the English names displayed when referencing it, regardless of the current linguistic context.
             \item Synonymous names: \packageoption{name-as-is} \,$|$\, \packageoption{nameasis} \,$|$\, \packageoption{originalref}
         \end{itemize}
     \item \packageoption{name in link}
@@ -160,7 +160,7 @@
 
 \section{How to use it}
 
-\subsection[Naming theorem-like environments]{Naming theorem-like environments with \texttt{\textbackslash\textcolor{code-main}{NameTheorem}}}
+\subsection[Naming theorem-like environments]{Naming theorem-like environments with \texttt{\textcolor{code-main}{\textbackslash NameTheorem}}}
 
 The syntax of \lstinline|\NameTheorem| is as follows:
 \begin{code}
@@ -238,7 +238,7 @@
 \end{tip}
 
 
-\subsection[Initializing theorem-like environments]{Initializing theorem-like environments with \texttt{\textbackslash\textcolor{code-main}{CreateTheorem}}}
+\subsection[Initializing theorem-like environments]{Initializing theorem-like environments with \texttt{\textcolor{code-main}{\textbackslash CreateTheorem}}}
 
 The syntax of \lstinline|\CreateTheorem| is as follows:
 \begin{code}
@@ -295,7 +295,7 @@
 \end{itemize}
 
 \begin{tip}
-    The names for the following environments have been preset: \texttt{application}, \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 there is no need to specify the key \textquote{\commandoption{name}} while creating them, otherwise you shall have to use the package option \textquote{\packageoption{no preset names}} to disable the presets and then define your own ones.
+    The names for the following environments have been preset: \texttt{application}, \texttt{assertion}, \texttt{assumption}, \texttt{axiom}, \texttt{claim}, \texttt{conclusion}, \texttt{conjecture}, \texttt{construction}, \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{recall}, \texttt{remark} and \texttt{theorem}. If you are fine with the preset names, then there is no need to specify the key \textquote{\commandoption{name}} while creating them, otherwise you shall have to use the package option \textquote{\packageoption{no preset names}} to disable the presets and then define your own ones.
 \end{tip}
 
 \medskip
@@ -304,7 +304,7 @@
 
 
 \bigskip
-\subsection[Configuring theorem-like environments]{Configuring theorem-like environments with \texttt{\textbackslash\textcolor{code-main}{SetTheorem}}}
+\subsection[Configuring theorem-like environments]{Configuring theorem-like environments with \texttt{\textcolor{code-main}{\textbackslash SetTheorem}}}
 
 The previous two commands are especially useful for package or class writers, while this one is more for the users. If you are not satisfied with preset name styles or numbering settings, then even after initializing the environments, you can still further configure them by means of \lstinline|\SetTheorem|, the syntax of which is as follows:
 
@@ -381,11 +381,11 @@
 \CreateTheorem{idea}{
     (*\commandoption{name}*) = {
         (*\commandoption{heading}*)  = { english = Idea,
-                     french  = Idée, },
+                       french = Idée, },
         (*\commandoption{crefname}*) = { english = {idea}{ideas},
-                     french  = [l']{idée}[les]{idées}, },
+                       french = [l']{idée}[les]{idées}, },
         (*\commandoption{Crefname}*) = { english = {Idea}{Ideas},
-                     french  = [L']{idée}[Les]{idées}, },
+                       french = [L']{idée}[Les]{idées}, },
     },
     (*\commandoption{parent counter}*) = section,
 }

Modified: trunk/Master/texmf-dist/tex/latex/create-theorem/create-theorem.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/create-theorem/create-theorem.sty	2022-04-24 03:42:26 UTC (rev 63119)
+++ trunk/Master/texmf-dist/tex/latex/create-theorem/create-theorem.sty	2022-04-24 20:10:31 UTC (rev 63120)
@@ -13,7 +13,7 @@
 \RequirePackage{l3keys2e}
 \ProvidesExplPackage
   {create-theorem}
-  {2022/04/16} {}
+  {2022/04/23} {}
   {Initializing theorem-like environments with multilingual support}
 
 \keys_define:nn { create-theorem }
@@ -512,7 +512,7 @@
   % #2 = language name
   % #3 = corresponding numbering style
   {
-    \tl_gset:cn { g_crthm_number_style_ #1 _tl } { #3 }
+    \tl_gset:cn { g_crthm_number_style_ #1 _tl } { \normalfont #3 }
   }
 
 
@@ -901,7 +901,7 @@
                     , spanish     = Aserción
                     , schinese    = 断言
                     , tchinese    = 斷言
-                    , japanese    = アサーション
+                    , japanese    = 断言
                     , russian     = Утверждение
                   }
     , crefname =  {
@@ -914,7 +914,7 @@
                     , spanish     = [la]{aserción}[las]{aserciones}
                     , schinese    = {断言}{断言}
                     , tchinese    = {斷言}{斷言}
-                    , japanese    = {アサーション}{アサーション}
+                    , japanese    = {断言}{断言}
                     , russian     = {утверждение}{утверждения}
                   }
     , Crefname =  {
@@ -927,7 +927,7 @@
                     , spanish     = [La]{aserción}[Las]{aserciones}
                     , schinese    = {断言}{断言}
                     , tchinese    = {斷言}{斷言}
-                    , japanese    = {アサーション}{アサーション}
+                    , japanese    = {断言}{断言}
                     , russian     = {Утверждение}{Утверждения}
                   }
   }
@@ -1018,6 +1018,49 @@
                   }
   }
 
+\NameTheorem { claim }
+  {
+    , heading =   {
+                    , english     = Claim
+                    , french      = Affirmation
+                    , ngerman     = Affirmation
+                    , italian     = Affermazione
+                    , portuguese  = Afirmação
+                    , brazilian   = Afirmação
+                    , spanish     = Afirmación
+                    , schinese    = 断言
+                    , tchinese    = 斷言
+                    , japanese    = 断言
+                    , russian     = Утверждение
+                  }
+    , crefname =  {
+                    , english     = {claim}{claims}
+                    , french      = [l']{affirmation}[les]{affirmations}
+                    , ngerman     = {Affirmation}{Affirmationen}
+                    , italian     = [l']{affermazione}[le]{affermazioni}
+                    , portuguese  = [a]{afirmação}[as]{afirmações}
+                    , brazilian   = [a]{afirmação}[as]{afirmações}
+                    , spanish     = [la]{afirmación}[las]{afirmaciones}
+                    , schinese    = {断言}{断言}
+                    , tchinese    = {斷言}{斷言}
+                    , japanese    = {断言}{断言}
+                    , russian     = {утверждение}{утверждения}
+                  }
+    , Crefname =  {
+                    , english     = {Claim}{Claims}
+                    , french      = [L']{affirmation}[Les]{affirmations}
+                    , ngerman     = {Affirmation}{Affirmationen}
+                    , italian     = [L']{affermazione}[Le]{affermazioni}
+                    , portuguese  = [A]{afirmação}[As]{afirmações}
+                    , brazilian   = [A]{afirmação}[As]{afirmações}
+                    , spanish     = [La]{afirmación}[Las]{afirmaciones}
+                    , schinese    = {断言}{断言}
+                    , tchinese    = {斷言}{斷言}
+                    , japanese    = {断言}{断言}
+                    , russian     = {Утверждение}{Утверждения}
+                  }
+  }
+
 \NameTheorem { conclusion }
   {
     , heading =   {
@@ -1104,6 +1147,49 @@
                   }
   }
 
+\NameTheorem { construction }
+  {
+    , heading =   {
+                    , english     = Construction
+                    , french      = Construction
+                    , ngerman     = Konstruktion
+                    , italian     = Costruzione
+                    , portuguese  = Construção
+                    , brazilian   = Construção
+                    , spanish     = Construcción
+                    , schinese    = 构造
+                    , tchinese    = 構造
+                    , japanese    = 構造
+                    , russian     = Конструкция
+                  }
+    , crefname =  {
+                    , english     = {construction}{constructions}
+                    , french      = [la]{construction}[les]{constructions}
+                    , ngerman     = {Konstruktion}{Konstruktionen}
+                    , italian     = [la]{costruzione}[le]{costruzioni}
+                    , portuguese  = [a]{construção}[as]{construções}
+                    , brazilian   = [a]{construção}[as]{construções}
+                    , spanish     = [la]{construcción}[las]{construcciones}
+                    , schinese    = {构造}{构造}
+                    , tchinese    = {構造}{構造}
+                    , japanese    = {構造}{構造}
+                    , russian     = {конструкция}{конструкции}
+                  }
+    , Crefname =  {
+                    , english     = {Construction}{Constructions}
+                    , french      = [La]{construction}[Les]{constructions}
+                    , ngerman     = {Konstruktion}{Konstruktionen}
+                    , italian     = [La]{costruzione}[Le]{costruzioni}
+                    , portuguese  = [A]{construção}[As]{construções}
+                    , brazilian   = [A]{construção}[As]{construções}
+                    , spanish     = [La]{construcción}[Las]{construcciones}
+                    , schinese    = {构造}{构造}
+                    , tchinese    = {構造}{構造}
+                    , japanese    = {構造}{構造}
+                    , russian     = {Конструкция}{Конструкции}
+                  }
+  }
+
 \NameTheorem { convention }
   {
     , heading =   {
@@ -1749,6 +1835,49 @@
                   }
   }
 
+\NameTheorem { recall }
+  {
+    , heading =   {
+                    , english     = Recall
+                    , french      = Rappel
+                    , ngerman     = Rückruf
+                    , italian     = Richiamo
+                    , portuguese  = Recordação
+                    , brazilian   = Recordação
+                    , spanish     = Recuerdo
+                    , schinese    = 回顾
+                    , tchinese    = 回顧
+                    , japanese    = 回顧
+                    , russian     = Напоминание
+                  }
+    , crefname =  {
+                    , english     = {recall}{recalls}
+                    , french      = [le]{rappel}[les]{rappels}
+                    , ngerman     = {Rückruf}{Rückrufe}
+                    , italian     = [il]{richiamo}[i]{richiami}
+                    , portuguese  = [a]{recordação}[as]{recordações}
+                    , brazilian   = [a]{recordação}[as]{recordações}
+                    , spanish     = [el]{recuerdo}[los]{recuerdos}
+                    , schinese    = {回顾}{回顾}
+                    , tchinese    = {回顧}{回顧}
+                    , japanese    = {回顧}{回顧}
+                    , russian     = {напоминание}{напоминания}
+                  }
+    , Crefname =  {
+                    , english     = {Recall}{Recalls}
+                    , french      = [Le]{rappel}[Les]{rappels}
+                    , ngerman     = {Rückruf}{Rückrufe}
+                    , italian     = [Il]{richiamo}[I]{richiami}
+                    , portuguese  = [A]{recordação}[As]{recordações}
+                    , brazilian   = [A]{recordação}[As]{recordações}
+                    , spanish     = [El]{recuerdo}[Los]{recuerdos}
+                    , schinese    = {回顾}{回顾}
+                    , tchinese    = {回顧}{回顧}
+                    , japanese    = {回顧}{回顧}
+                    , russian     = {Напоминание}{Напоминания}
+                  }
+  }
+
 \NameTheorem { remark }
   {
     , heading =   {



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