diff options
author | Karl Berry <karl@freefriends.org> | 2023-07-14 21:05:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-07-14 21:05:11 +0000 |
commit | 4f4a6fbdcff9c424b96574e43efe30c376e6ea33 (patch) | |
tree | 8d380d0e8b502eee1bc72982537eee8e7d52568e /Master/texmf-dist/tex/latex/create-theorem | |
parent | ac0972ebf6b5b92c6cc75542aa4add3bc6f8b15c (diff) |
jxu (14jul23)
git-svn-id: svn://tug.org/texlive/trunk@67629 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/create-theorem')
-rw-r--r-- | Master/texmf-dist/tex/latex/create-theorem/create-theorem.sty | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/create-theorem/create-theorem.sty b/Master/texmf-dist/tex/latex/create-theorem/create-theorem.sty index 1286548a981..7eefe80b812 100644 --- a/Master/texmf-dist/tex/latex/create-theorem/create-theorem.sty +++ b/Master/texmf-dist/tex/latex/create-theorem/create-theorem.sty @@ -1,5 +1,5 @@ %% -%% Copyright (C) 2021-2022 by Jinwen XU +%% Copyright (C) 2021-2023 by Jinwen XU %% ------------------------------------ %% %% This file may be distributed and/or modified under the conditions of @@ -12,7 +12,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {create-theorem} - {2022/08/08a} {} + {2023/07/14} {} {Initializing theorem-like environments with multilingual support} \keys_define:nn { create-theorem } @@ -224,8 +224,8 @@ { \tl_gset:cn { g_crthm_core_name_ #7 ref_article_singular_ #1 _ #2 _tl } { } \tl_gset:cn { g_crthm_core_name_ #7 ref_article_plural_ #1 _ #2 _tl } { } - \tl_gset:cn { g_crthm_name_ #7 ref_article_singular_ #1 _ #2 _tl } { \nobreak \crefthemark { \skip_horizontal:n { -\crefthe_width_of_space_dim } } \nobreak } - \tl_gset:cn { g_crthm_name_ #7 ref_article_plural_ #1 _ #2 _tl } { \nobreak \crefthemark { \skip_horizontal:n { -\crefthe_width_of_space_dim } } \nobreak } + \tl_gset:cn { g_crthm_name_ #7 ref_article_singular_ #1 _ #2 _tl } { \nobreak \crefthemark { \crefthe_retrieve_space: } \nobreak } + \tl_gset:cn { g_crthm_name_ #7 ref_article_plural_ #1 _ #2 _tl } { \nobreak \crefthemark { \crefthe_retrieve_space: } \nobreak } } { \tl_gset:cn { g_crthm_core_name_ #7 ref_article_singular_ #1 _ #2 _tl } { #3 } @@ -241,7 +241,7 @@ \tl_if_blank:eTF { #4 } { - \tl_gset:cn { g_crthm_name_ #7 ref_singular_ #1 _ #2 _tl } { \nobreak \skip_horizontal:n { -\crefthe_width_of_space_dim } \nobreak } + \tl_gset:cn { g_crthm_name_ #7 ref_singular_ #1 _ #2 _tl } { \nobreak \crefthe_retrieve_space: \nobreak } } { \tl_gset:cn { g_crthm_name_ #7 ref_singular_ #1 _ #2 _tl } { \tl_use:c { g_crthm_style_ #7 refname_ #1 _ #2 _tl } { #4 } } @@ -249,7 +249,7 @@ \tl_if_blank:eTF { #6 } { - \tl_gset:cn { g_crthm_name_ #7 ref_plural_ #1 _ #2 _tl } { \nobreak \skip_horizontal:n { -\crefthe_width_of_space_dim } \nobreak } + \tl_gset:cn { g_crthm_name_ #7 ref_plural_ #1 _ #2 _tl } { \nobreak \crefthe_retrieve_space: \nobreak } } { \tl_gset:cn { g_crthm_name_ #7 ref_plural_ #1 _ #2 _tl } { \tl_use:c { g_crthm_style_ #7 refname_ #1 _ #2 _tl } { #6 } } @@ -1618,7 +1618,7 @@ } , crefname = { , english = {example}{examples} - , french = [l']{example}[les]{examples} + , french = [l']{exemple}[les]{exemples} , ngerman = {Beispiel}{Beispiele} , italian = [l']{esempio}[gli]{esempi} , portuguese = [o]{exemplo}[os]{exemplos} @@ -1631,7 +1631,7 @@ } , Crefname = { , english = {Example}{Examples} - , french = [L']{example}[Les]{examples} + , french = [L']{exemple}[Les]{exemples} , ngerman = {Beispiel}{Beispiele} , italian = [L']{esempio}[Gli]{esempi} , portuguese = [O]{exemplo}[Os]{exemplos} |