summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/projlib/ProjLib.dtx')
-rw-r--r--Master/texmf-dist/source/latex/projlib/ProjLib.dtx58
1 files changed, 31 insertions, 27 deletions
diff --git a/Master/texmf-dist/source/latex/projlib/ProjLib.dtx b/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
index 6123adab0cf..baba6274a8d 100644
--- a/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
+++ b/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
@@ -19,84 +19,84 @@
%<*ProjLib>
\ProvidesExplPackage
{ProjLib}
- {2023/01/05} {}
+ {2023/07/14} {}
{Collective interface of the ProjLib toolkit}
%</ProjLib>
%
%<*projlib-author>
\ProvidesExplPackage
{projlib-author}
- {2023/01/05} {}
+ {2023/07/14} {}
{Enhanced author information block}
%</projlib-author>
%
%<*projlib-datetime>
\ProvidesExplPackage
{projlib-datetime}
- {2023/01/05} {}
+ {2023/07/14} {}
{Convert numeric date-time string to natural language}
%</projlib-datetime>
%
%<*projlib-draft>
\ProvidesExplPackage
{projlib-draft}
- {2023/01/05} {}
+ {2023/07/14} {}
{Useful commands during draft stage}
%</projlib-draft>
%
%<*projlib-font>
\ProvidesExplPackage
{projlib-font}
- {2023/01/05} {}
+ {2023/07/14} {}
{Font selection and configuration}
%</projlib-font>
%
%<*projlib-language>
\ProvidesExplPackage
{projlib-language}
- {2023/01/05} {}
+ {2023/07/14} {}
{Multi-language configuration}
%</projlib-language>
%
%<*projlib-logo>
\ProvidesExplPackage
{projlib-logo}
- {2023/01/05} {}
+ {2023/07/14} {}
{The ProjLib logo}
%</projlib-logo>
%
%<*projlib-math>
\ProvidesExplPackage
{projlib-math}
- {2023/01/05} {}
+ {2023/07/14} {}
{Efficient math setup}
%</projlib-math>
%
%<*projlib-paper>
\ProvidesExplPackage
{projlib-paper}
- {2023/01/05} {}
+ {2023/07/14} {}
{Configuration of the paper style}
%</projlib-paper>
%
%<*projlib-text>
\ProvidesExplPackage
{projlib-text}
- {2023/01/05} {}
+ {2023/07/14} {}
{Text-related commands}
%</projlib-text>
%
%<*projlib-theorem>
\ProvidesExplPackage
{projlib-theorem}
- {2023/01/05} {}
+ {2023/07/14} {}
{Configuration of theorem-like environments}
%</projlib-theorem>
%
%<*projlib-titlepage>
\ProvidesExplPackage
{projlib-titlepage}
- {2023/01/05} {}
+ {2023/07/14} {}
{Commands for rendering the title page}
%</projlib-titlepage>
@@ -317,7 +317,6 @@
\NewCommandCopy \projlib_author_backup_footnotemark: \footnotemark
- \tl_gset:Nn \footnotemark {}
\NewCommandCopy \projlib_author_backup_thanks:w \thanks
\cs_undefine:N \thanks
@@ -341,7 +340,9 @@
{
\hook_gput_code:nnn { cmd/@title/after } { projlib-author }
{
+ \tl_set:Nn \footnotemark {}
\projlib_author_pre_thanks:n { #1 }
+ \RenewCommandCopy \footnotemark \projlib_author_backup_footnotemark:
}
}
}
@@ -353,10 +354,8 @@
{
\projlib_author_backup_my_author:w
{
- \RenewCommandCopy \footnotemark \projlib_author_backup_footnotemark:
\RenewCommandCopy \thanks \projlib_author_backup_thanks:w
#1
- \tl_gset:Nn \footnotemark {}
}
}
}
@@ -443,8 +442,8 @@
\cs_undefine:N \email
\cs_undefine:N \dedicatory
\cs_undefine:N \keywords
- \cs_undefine:N \footnotemark
- \NewCommandCopy \footnotemark \projlib_author_backup_footnotemark:
+ % \cs_undefine:N \footnotemark
+ % \NewCommandCopy \footnotemark \projlib_author_backup_footnotemark:
\bool_gset_true:N \g__projlib_author_already_maketitle_bool
}
}
@@ -3236,6 +3235,11 @@
\projlib_language_use_language_locally:en { #1 } { #2 }
\group_end:
}
+\NewDocumentEnvironment { OtherLanguage } { m +b }
+ {
+ \projlib_language_use_language_locally:en { #1 } { #2 }
+ }
+ { }
\UseLanguage { \g__projlib_language_main_str }
@@ -3957,14 +3961,14 @@
\CreateTheorem { theorem } { parent counter = chapter, create starred version }
\bool_if:NT \l__projlib_theorem_separate_theorem_numbering_bool
{
- \exp_args:Nv \CreateTheorem { c_projlib_theorem_supported_clist } { parent counter = chapter, create starred version }
+ \exp_args:Nv \CreateTheorem { c_projlib_theorem_supported_clist } { parent counter = chapter, create starred version, quiet }
}
}
{ % without \chapter
\CreateTheorem { theorem } { parent counter = section, create starred version }
\bool_if:NT \l__projlib_theorem_separate_theorem_numbering_bool
{
- \exp_args:Nv \CreateTheorem { c_projlib_theorem_supported_clist } { parent counter = section, create starred version }
+ \exp_args:Nv \CreateTheorem { c_projlib_theorem_supported_clist } { parent counter = section, create starred version, quiet }
}
}
}
@@ -3974,14 +3978,14 @@
\CreateTheorem { theorem } { create starred version }
\bool_if:NT \l__projlib_theorem_separate_theorem_numbering_bool
{
- \exp_args:Nv \CreateTheorem { c_projlib_theorem_supported_clist } { create starred version }
+ \exp_args:Nv \CreateTheorem { c_projlib_theorem_supported_clist } { create starred version, quiet }
}
}
{
\CreateTheorem { theorem } { parent counter = \l__projlib_theorem_theorem_numbering_tl, create starred version }
\bool_if:NT \l__projlib_theorem_separate_theorem_numbering_bool
{
- \exp_args:Nv \CreateTheorem { c_projlib_theorem_supported_clist } { parent counter = \l__projlib_theorem_theorem_numbering_tl, create starred version }
+ \exp_args:Nv \CreateTheorem { c_projlib_theorem_supported_clist } { parent counter = \l__projlib_theorem_theorem_numbering_tl, create starred version, quiet }
}
}
}
@@ -4685,7 +4689,7 @@
}
, crefname = {
, english = {Example}{Example}
- , french = [l']{Example}[les]{Example}
+ , french = [l']{Exemple}[les]{Exemple}
, ngerman = {Beispiel}{Beispiel}
, italian = [l']{Esempio}[gli]{Esempio}
, portuguese = [o]{Exemplo}[os]{Exemplo}
@@ -4698,7 +4702,7 @@
}
, Crefname = {
, english = {Example}{Example}
- , french = [L']{Example}[Les]{Example}
+ , french = [L']{Exemple}[Les]{Exemple}
, ngerman = {Beispiel}{Beispiel}
, italian = [L']{Esempio}[Gli]{Esempio}
, portuguese = [O]{Exemplo}[Os]{Exemplo}
@@ -5436,12 +5440,12 @@
\fill [color=titlepage-main] ($(current~page.north~west)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
\fill [color=titlepage-back] ($(current~page.north~east)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
\node[text~width=.3\paperwidth, text~height=.2\paperheight, align=flush~left]
- at ($(current~page.north~west)+(.32\paperwidth,-.17\paperheight)$)
+ at ($(current~page.north~west)+(.333\paperwidth,-.17\paperheight)$)
{
\projlib_titlepage_show_logo:n { \scalebox { 2 } { \ProjLib } }
};
\node[text~width=.8\paperwidth, text~height=.5\paperheight, align=flush~left]
- at ($(current~page.north~west)+(.57\paperwidth,-.28\paperheight)$)
+ at ($(current~page.north~west)+(.583\paperwidth,-.28\paperheight)$)
{
\color{titlepage-back}
\sffamily
@@ -5470,12 +5474,12 @@
\fill[color=white] ($(current~page.south~west)$) rectangle ($(current~page.north~east)$);
\fill[color=titlepage-main] ($(current~page.south~west)$) rectangle ($(current~page.north~east)+(0,-.3\paperheight)$);
\node[text~width=.3\paperwidth, text~height=.2\paperheight, align=flush~left]
- at ($(current~page.north~west)+(.27\paperwidth,-.15\paperheight)$)
+ at ($(current~page.north~west)+(.28\paperwidth,-.15\paperheight)$)
{
\projlib_titlepage_show_logo:n { \scalebox { 2 } { \ProjLib } }
};
\node[text~width=.8\paperwidth, text~height=.5\paperheight, align=flush~left]
- at ($(current~page.north~west)+(.52\paperwidth,-.28\paperheight)$)
+ at ($(current~page.north~west)+(.53\paperwidth,-.28\paperheight)$)
{
\color{white}
\sffamily