From fa9eff5f7febdf005dca510a70e57ffe92257c2c Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 16 Nov 2022 03:03:08 +0000 Subject: CTAN sync 202211160303 --- macros/latex/contrib/bfh-ci/README.md | 6 +- .../contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf | Bin 50629 -> 50805 bytes macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf | Bin 40636 -> 40924 bytes .../latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf | Bin 50178 -> 50347 bytes macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf | Bin 13611 -> 13731 bytes .../contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf | Bin 57404 -> 57404 bytes macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf | Bin 92267 -> 92253 bytes .../latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf | Bin 46614 -> 46595 bytes macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf | Bin 41455 -> 41660 bytes .../contrib/bfh-ci/tex/beamercolorthemeBFH.sty | 7 +- .../contrib/bfh-ci/tex/beamerfontthemeBFH.sty | 2 +- .../contrib/bfh-ci/tex/beamerinnerthemeBFH.sty | 43 ++--- .../bfh-ci/tex/beamerouterthemeBFH-sidebar.sty | 2 +- .../contrib/bfh-ci/tex/beamerouterthemeBFH.sty | 2 +- macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty | 2 +- macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo | 2 +- macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo | 2 +- macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo | 2 +- macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo | 2 +- macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo | 2 +- macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo | 2 +- macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo | 2 +- .../latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg | 2 +- macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg | 2 +- .../latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg | 2 +- .../contrib/bfh-ci/tex/bfh-layout-listings.cfg | 2 +- .../latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg | 2 +- .../contrib/bfh-ci/tex/bfh-layout-tabular.cfg | 2 +- .../contrib/bfh-ci/tex/bfh-layout-terminal.cfg | 2 +- .../contrib/bfh-ci/tex/bfh-projectproposal.cfg | 2 +- macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls | 2 +- macros/latex/contrib/bfh-ci/tex/bfhcolors.sty | 2 +- macros/latex/contrib/bfh-ci/tex/bfhfonts.sty | 2 +- macros/latex/contrib/bfh-ci/tex/bfhlayout.sty | 2 +- macros/latex/contrib/bfh-ci/tex/bfhletter.sty | 2 +- .../contrib/bfh-ci/tex/bfhlettersize9.5pt.clo | 2 +- macros/latex/contrib/bfh-ci/tex/bfhmodule.sty | 2 +- macros/latex/contrib/bfh-ci/tex/bfhpub.cls | 2 +- macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls | 2 +- macros/latex/contrib/bfh-ci/tex/bfhthesis.cls | 2 +- .../contrib/bfh-ci/tex/bfhtranslations-french.trsl | 24 +-- macros/latex/contrib/frenchmath/frenchmath.dtx | 180 +++++++++++---------- macros/latex/contrib/frenchmath/frenchmath.pdf | Bin 519607 -> 243227 bytes .../latex/contrib/nicematrix/nicematrix-french.pdf | Bin 511095 -> 511133 bytes .../latex/contrib/nicematrix/nicematrix-french.tex | 25 +-- macros/latex/contrib/nicematrix/nicematrix.dtx | 68 +++++--- macros/latex/contrib/nicematrix/nicematrix.pdf | Bin 1324298 -> 1324991 bytes macros/latex/contrib/projlib/ProjLib.dtx | 98 +++++++---- macros/latex/contrib/projlib/README.md | 2 +- 49 files changed, 287 insertions(+), 224 deletions(-) (limited to 'macros/latex') diff --git a/macros/latex/contrib/bfh-ci/README.md b/macros/latex/contrib/bfh-ci/README.md index 3df5c97b40..5bdec4fd98 100644 --- a/macros/latex/contrib/bfh-ci/README.md +++ b/macros/latex/contrib/bfh-ci/README.md @@ -2,7 +2,7 @@ Copyright (C) Marei Peischl & Andreas Habegger , 2021–2022 -bfh 2022/03/20 v2.1.3 +bfh 2022/11/15 v2.1.4 *************************************************************************** @@ -96,4 +96,6 @@ BFH-CI uses the translations package to provide translations for specific elemen * v2.1.2 (2022/03/01) - Small layout adjustments for bfhterminal * v2.1.3 (2022/03/20) - - Fix partnerlogo alignment for titlepage=false in bfhlayout \ No newline at end of file + - Fix partnerlogo alignment for titlepage=false in bfhlayout +* v2.1.4 (2022/11/15) + - Fix french translations \ No newline at end of file diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf index 8f29a11846..604a003e66 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf index 67b27ba0ab..a87ee33d39 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf index d6ce6a79f5..19b46eaa8d 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf index 22743d9230..81e01811b0 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf index bfa6e89597..112b5616ac 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf index 437fb99474..5c4571a198 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf index 99a9c783b4..6982ff0783 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf index 5159adb617..bab5f6efb3 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf differ diff --git a/macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty index ff347fe363..510ae8dafa 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty @@ -1,4 +1,4 @@ -%% This is file `beamercolorthemeBFH.sty' version 2.1.3 (2022/03/20), +%% This is file `beamercolorthemeBFH.sty' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- @@ -60,8 +60,9 @@ \setbeamercolor{section in sidebar shaded}{fg=BFH-Gray} \setbeamercolor{subsection in sidebar shaded}{fg=BFH-Gray} -\setbeamercolor{section in sidebar}{fg=white,bg=BFH-Orange} -\setbeamercolor{subsection in sidebar}{fg=white,bg=BFH-Orange} +\setbeamercolor{section in sidebar}{fg=BFH-Gray,bg=BFH-Orange} +\setbeamercolor{subsection in sidebar}{fg=BFH-Gray,bg=BFH-Orange} + \setbeamercolor{version in sidebar}{fg=BFH-Gray} \setbeamercolor{frametitle}{fg=BFH-Gray} diff --git a/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty index 8e8612cad6..5b8e75d962 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty @@ -1,4 +1,4 @@ -%% This is file `beamerfontthemeBFH.sty' version 2.1.3 (2022/03/20), +%% This is file `beamerfontthemeBFH.sty' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty index d09dfcb7dd..d11d039072 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty @@ -1,4 +1,4 @@ -%% This is file `beamerinnerthemeBFH.sty' version 2.1.3 (2022/03/20), +%% This is file `beamerinnerthemeBFH.sty' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- @@ -387,28 +387,13 @@ } } - -\defbeamertemplate*{section~page}{BFH}{ - \bool_set_false:N \l__ptxcd_content_separator_ruled_bool - \__ptxcd_content_separator:n {section} +\NewDocumentCommand{\separatorpage}{sm}{ + \IfBooleanTF{#1} + {\bool_set_true:N \l__ptxcd_content_separator_ruled_bool} + {\bool_set_false:N \l__ptxcd_content_separator_ruled_bool} + \__ptxcd_content_separator:n {#2} } -\defbeamertemplate{section~page}{BFH-ruled} -{ - \bool_set_true:N \l__ptxcd_content_separator_ruled_bool - \__ptxcd_content_separator:n {section} -} - -\defbeamertemplate*{lecture~page}{BFH}{ - \bool_set_false:N \l__ptxcd_content_separator_ruled_bool - \__ptxcd_content_separator:n {lecture} -} - -\defbeamertemplate{lecture~page}{BFH-ruled} -{ - \bool_set_true:N \l__ptxcd_content_separator_ruled_bool - \__ptxcd_content_separator:n {lecture} -} \cs_new:Nn \__ptxcd_block_begin:n { \par\vskip\medskipamount% @@ -449,15 +434,21 @@ \ifbeamer@inframe\titlepage\else\frame[plain]{\titlepage}\fi } -\def\sectionpage{ - \ifbeamer@inframe\usebeamertemplate*{section~page}\else\frame[plain]{\usebeamertemplate*{section~page}}\fi -} -\def\lecturepage{ - \ifbeamer@inframe\usebeamertemplate*{lecture~page}\else\frame[plain]{\usebeamertemplate*{lecture~page}}\fi +\clist_map_inline:nn {section,subsection,lecture} { + \exp_args:Nc \def{#1page}{ + \ifbeamer@inframe\usebeamertemplate*{#1~page}\else\frame[plain]{\usebeamertemplate*{#1~page}}\fi + } + +\defbeamertemplate*{#1~page}{BFH} + {\separatorpage{#1}} + +\defbeamertemplate{#1~page}{BFH-ruled} + {\separatorpage*{#1}} } + \mode \endinput diff --git a/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty b/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty index cf6c5277de..09342651a6 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty @@ -1,4 +1,4 @@ -%% This is file `beamerouterthemeBFH-sidebar.sty' version 2.1.3 (2022/03/20), +%% This is file `beamerouterthemeBFH-sidebar.sty' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty index af0197c701..6f93f07ac3 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty @@ -1,4 +1,4 @@ -%% This is file `beamerouterthemeBFH.sty' version 2.1.3 (2022/03/20), +%% This is file `beamerouterthemeBFH.sty' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty index 3f0f9adfd9..9952272cd1 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty @@ -1,4 +1,4 @@ -%% This is file `beamerthemeBFH.sty' version 2.1.3 (2022/03/20), +%% This is file `beamerthemeBFH.sty' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo index b06b6cda4e..925333a997 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a0paper.clo' version 2.1.3 (2022/03/20), +%% This is file `bfh-a0paper.clo' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo index c793edbd67..e1227d53c0 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a1paper.clo' version 2.1.3 (2022/03/20), +%% This is file `bfh-a1paper.clo' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo index 8ca1958ad5..546ecb4d01 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a2paper.clo' version 2.1.3 (2022/03/20), +%% This is file `bfh-a2paper.clo' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo index bbd41515c5..d49c0b434c 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a3paper.clo' version 2.1.3 (2022/03/20), +%% This is file `bfh-a3paper.clo' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo index ccff9f8b5e..7aff59fd89 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a4paper.clo' version 2.1.3 (2022/03/20), +%% This is file `bfh-a4paper.clo' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo index 5f8f235255..ee80d4a2ce 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a5paper.clo' version 2.1.3 (2022/03/20), +%% This is file `bfh-a5paper.clo' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo index eb8025be2a..01200be80e 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a6paper.clo' version 2.1.3 (2022/03/20), +%% This is file `bfh-a6paper.clo' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg index aa8eff7730..241723c9b8 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-beamerarticle.cfg' version 2.1.3 (2022/03/20), +%% This is file `bfh-beamerarticle.cfg' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg index d296706507..e12b3eff68 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-factsheet.cfg' version 2.1.3 (2022/03/20), +%% This is file `bfh-factsheet.cfg' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg index c69a8ceeba..296979578b 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-layout-boxes.cfg' version 2.1.3 (2022/03/20), +%% This is file `bfh-layout-boxes.cfg' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-layout-listings.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-layout-listings.cfg index c61235cde8..87f87a8148 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-listings.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-listings.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-layout-listings.cfg' version 2.1.3 (2022/03/20), +%% This is file `bfh-layout-listings.cfg' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg index 4f0f74321b..f1f8a879d1 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-layout-rules.cfg' version 2.1.3 (2022/03/20), +%% This is file `bfh-layout-rules.cfg' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-layout-tabular.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-layout-tabular.cfg index babc8be728..d6b3f01b43 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-tabular.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-tabular.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-layout-tabular.cfg' version 2.1.3 (2022/03/20), +%% This is file `bfh-layout-tabular.cfg' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-layout-terminal.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-layout-terminal.cfg index 9245d08dcc..537cbf4521 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-terminal.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-terminal.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-layout-tabular.cfg' version 2.1.3 (2022/03/20), +%% This is file `bfh-layout-tabular.cfg' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg index d48d720b9c..46be5e1644 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-projectproposal.cfg' version 2.1.3 (2022/03/20), +%% This is file `bfh-projectproposal.cfg' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls b/macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls index c2578cc8be..c9f4a11dfa 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls +++ b/macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls @@ -1,4 +1,4 @@ -%% This is file `bfhbeamer.cls' version 2.1.3 (2022/03/20), +%% This is file `bfhbeamer.cls' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhcolors.sty b/macros/latex/contrib/bfh-ci/tex/bfhcolors.sty index 44b1a0ece3..f5720ea29b 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhcolors.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhcolors.sty @@ -1,4 +1,4 @@ -%% This is file `bfhcolors.sty' version 2.1.3 (2022/03/20), +%% This is file `bfhcolors.sty' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhfonts.sty b/macros/latex/contrib/bfh-ci/tex/bfhfonts.sty index 6f7ed2f289..309fdeea54 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhfonts.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhfonts.sty @@ -1,4 +1,4 @@ -%% This is file `bfhfonts.sty' version 2.1.3 (2022/03/20), +%% This is file `bfhfonts.sty' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhlayout.sty b/macros/latex/contrib/bfh-ci/tex/bfhlayout.sty index a7f49c39f7..e7d4849524 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhlayout.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhlayout.sty @@ -1,4 +1,4 @@ -%% This is file `bfhlayout.sty' version 2.1.3 (2022/03/20), +%% This is file `bfhlayout.sty' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhletter.sty b/macros/latex/contrib/bfh-ci/tex/bfhletter.sty index cd15d4b40d..03df3d202f 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhletter.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhletter.sty @@ -1,4 +1,4 @@ -%% This is file `bfhletter.sty' version 2.1.3 (2022/03/20), +%% This is file `bfhletter.sty' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo b/macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo index cd26e125d1..d16103befe 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo @@ -1,4 +1,4 @@ -%% This is file `bfhlettersize9.5pt.clo' version 2.1.3 (2022/03/20), +%% This is file `bfhlettersize9.5pt.clo' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhmodule.sty b/macros/latex/contrib/bfh-ci/tex/bfhmodule.sty index 8b1fff86c4..cdc79c4568 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhmodule.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhmodule.sty @@ -1,4 +1,4 @@ -%% This is file `bfhmodule.sty' version 2.1.3 (2022/03/20), +%% This is file `bfhmodule.sty' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhpub.cls b/macros/latex/contrib/bfh-ci/tex/bfhpub.cls index 0a0fbaa8b3..977cda3394 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhpub.cls +++ b/macros/latex/contrib/bfh-ci/tex/bfhpub.cls @@ -1,4 +1,4 @@ -%% This is file `bfhpub.cls' version 2.1.3 (2022/03/20), +%% This is file `bfhpub.cls' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls b/macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls index bb9745e890..e00f4733ab 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls +++ b/macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls @@ -1,4 +1,4 @@ -%% This is file `bfhsciposter.cls' version 2.1.3 (2022/03/20), +%% This is file `bfhsciposter.cls' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhthesis.cls b/macros/latex/contrib/bfh-ci/tex/bfhthesis.cls index ab07784437..ab21b6eb43 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhthesis.cls +++ b/macros/latex/contrib/bfh-ci/tex/bfhthesis.cls @@ -1,4 +1,4 @@ -%% This is file `bfhthesis.cls' version 2.1.3 (2022/03/20), +%% This is file `bfhthesis.cls' version 2.1.4 (2022/11/15), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhtranslations-french.trsl b/macros/latex/contrib/bfh-ci/tex/bfhtranslations-french.trsl index c396ddf4fe..f8a104b4b2 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhtranslations-french.trsl +++ b/macros/latex/contrib/bfh-ci/tex/bfhtranslations-french.trsl @@ -11,14 +11,14 @@ \ProvideDictTranslation{Author}{Auteur} \ProvideDictTranslation{authors}{auteurs} \ProvideDictTranslation{Authors}{Auteurs} -\ProvideDictTranslation{advisor}{conseiller} -\ProvideDictTranslation{Advisor}{Conseiller} -\ProvideDictTranslation{advisors}{conseillers} -\ProvideDictTranslation{Advisors}{Conseillers} -\ProvideDictTranslation{co-advisor}{co-conseiller} -\ProvideDictTranslation{Co-advisor}{Co-Conseiller} -\ProvideDictTranslation{co-advisors}{co-conseiller} -\ProvideDictTranslation{Co-advisors}{Co-Conseillers} +\ProvideDictTranslation{advisor}{superviseur} +\ProvideDictTranslation{Advisor}{Superviseur} +\ProvideDictTranslation{advisors}{superviseurs} +\ProvideDictTranslation{Advisors}{Superviseurs} +\ProvideDictTranslation{co-advisor}{cosuperviseur} +\ProvideDictTranslation{Co-advisor}{Cosuperviseur} +\ProvideDictTranslation{co-advisors}{cosuperviseurs} +\ProvideDictTranslation{Co-advisors}{Cosuperviseurs} \ProvideDictTranslation{expert}{expert} \ProvideDictTranslation{Expert}{Expert} \ProvideDictTranslation{experts}{experts} @@ -29,12 +29,12 @@ \ProvideDictTranslation{Project partners}{Partenaires du projet} \ProvideDictTranslation{Supervisor}{Superviseur} \ProvideDictTranslation{supervisor}{superviseur} -\ProvideDictTranslation{Co-Supervisor}{Co-superviseur} -\ProvideDictTranslation{co-supervisor}{co-superviseur} +\ProvideDictTranslation{Co-Supervisor}{Cosuperviseur} +\ProvideDictTranslation{co-supervisor}{cosuperviseur} \ProvideDictTranslation{Company}{Entreprise} \ProvideDictTranslation{company}{entreprise} -\ProvideDictTranslation{degreeprogram}{filière d'etude} -\ProvideDictTranslation{Degreeprogram}{Filière d'etude} +\ProvideDictTranslation{degreeprogram}{filière d'étude} +\ProvideDictTranslation{Degreeprogram}{Filière d'étude} \ProvideDictTranslation{Date}{Date} \ProvideDictTranslation{date}{date} \ProvideDictTranslation{Bern University of Applied Sciences}{Haute \'ecole sp\'ecialis\'ee bernoise} diff --git a/macros/latex/contrib/frenchmath/frenchmath.dtx b/macros/latex/contrib/frenchmath/frenchmath.dtx index 0f9be5f58e..fb72a379ec 100644 --- a/macros/latex/contrib/frenchmath/frenchmath.dtx +++ b/macros/latex/contrib/frenchmath/frenchmath.dtx @@ -20,27 +20,24 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{frenchmath} - [2022/11/11 v2.1 .dtx frenchmath file] + [2022/11/15 v2.2 .dtx frenchmath file] % %<*driver> \documentclass{ltxdoc} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} -\usepackage{lmodern} +\usepackage{mathpazo} \usepackage[upgreek]{frenchmath} \usepackage{textalpha} \usepackage{metalogo} % pour les logos XeLaTeX et LuaLaTeX -% pour l'exemple de la doc on utilise \PV pour simuler le ; d'origine -\DeclareMathSymbol{\PV}\mathpunct{operators}{'73} % '73 = code octal du ; dans ecrm (ou cmr) -% commandes d'origine pour ouvrir ou fermer le crochet -\DeclareMathSymbol{\OB}\mathclose{operators}{093} -\DeclareMathSymbol{\CB}\mathopen{operators}{091} -% pour récupérer le symbole \emptyset de computer modern au cas où on voudrait -% changer la fonte de ce doc : -\DeclareSymbolFont{cmsymbols}{OMS}{cmsy}{m}{n} +% Pour certains exemples de la doc on restitue les définitions originales : +\DeclareMathSymbol{\PV}\mathpunct{operators}{'73} % code octal du ; dans ecrm (ou cmr) +\DeclareMathSymbol{\OB}\mathclose{operators}{093} % crochet ouvrant [ +\DeclareMathSymbol{\CB}\mathopen{operators}{091} % crochet fermant ] +\DeclareSymbolFont{cmsymbols}{OMS}{cmsy}{m}{n} % symbole \emptyset de computer modern \DeclareMathSymbol{\cmemptyset}{\mathord}{cmsymbols}{'73} % code octal dans cmsy -\DeclareTextSymbol{\textmicro}{TS1}{181} % micro sign +\DeclareTextSymbol{\textmicro}{TS1}{181} % mu de micro \DeclareTextSymbolDefault{\textmicro}{TS1} \DisableCrossrefs %\CodelineIndex @@ -62,7 +59,7 @@ % % \fi % -% \CheckSum{548} +% \CheckSum{543} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -106,13 +103,15 @@ % \changes{v2.1}{11/11/2022}{reprise du doc pour les lettres grecques, les crochets % et les références ; % nouvelle commande paral*, \mathop{\operatorfont th} remplacé par \operatorname{th}} +% \changes{v2.2}{15/11/2022}{Quelques changements dans la doc, fonte Palatino avec mathpazo, +% commande paral redéfinie, la commande paral* devient inutile} % % \GetFileInfo{frenchmath.sty} % % \title{L'extension \textsf{frenchmath}\thanks{Ce document -% correspond à \textsf{frenchmath}~\fileversion, dernière modification le 11/11/2022.}} +% correspond à \textsf{frenchmath}~\fileversion, dernière modification le 15/11/2022.}} % \author{Antoine Missier \\ \texttt{antoine.missier@ac-toulouse.fr}} -% \date{11 novembre 2022} +% \date{15 novembre 2022} % \maketitle % % \section{Introduction} @@ -123,9 +122,9 @@ % (voir~\cite{RTIN} et~\cite{IGEN}) % ainsi que des espacements corrects % pour les virgules et point-virgules -%\footnote{Merci à Jean-François Burnol pour quelques améliorations proposées au code.}. +%\footnote{Merci à Jean-François Burnol pour certaines améliorations proposées au code.}. % Depuis la version 2.0, une option permet également de composer les minuscules grecques -% du mode mathématique en forme droite plutôt qu'en italique. +% du mode mathématique en forme droite. % % D'autres solutions pour composer les majuscules mathématiques en romain % sont proposées dans les extensions \textsf{fourier} de Michel Bovani~\cite{FOUR} @@ -147,7 +146,7 @@ % Quelques différences sont à signaler avec \textsf{mafr} : % \begin{itemize} % \item nous avons choisi de ne pas substituer les symboles français aux symboles -% anglo-saxons avec le même nom de commande ; +% anglais avec le même nom de commande ; % \item les macros présentées dans la section 2 correspondant à des macros de \textsf{mafr} % sont signalées par un astérisque en fin d'item, les autres sont nouvelles ; % \item enfin quelques commandes de \textsf{mafr} ne sont pas spécifiques @@ -176,11 +175,11 @@ % Par défaut \textsf{frenchmath} compose automatiquement toutes les majuscules % mathématiques en romain, % quelle que soit la fonte utilisée. -% Par exemple |\[ P(X)=\sum_{i=0}^{n}a_i X^i \]| donne avec \textsf{frenchmath} +% Par exemple |\[ P(X)=\sum_{i=0}^{n} a_i X^i \]| donne avec \textsf{frenchmath} % \[ P(X)=\sum_{i=0}^{n}a_i X^i. \] % % \DescribeEnv{capsit} -% L'extension \textsf{frenchmath} possède l'option |capsit|, +% L'extension \textsf{frenchmath} possède une option, |capsit|, % qui permet de conserver la composition des majuscules du mode mathématique % en italique (dans la famille de fonte par défaut). % Que l'option soit activée ou pas, il est toujours possible de changer l'aspect @@ -188,7 +187,7 @@ % % \subsection{Lettres grecques} % La norme concernant l'usage des lettres grecques en italique ou en forme droite -% pour les mathématiques françaises ne semble pas très claire et les auteurs +% pour les mathématiques françaises ne semble pas aussi claire et les auteurs % divergent sur ce point. Plusieurs recommandent l'usage des lettres grecques % minuscules en forme droite~\cite{FOUR}~\cite{DESIGN}~\cite{PMISO}, mais d'autres % préconisent l'italique, @@ -201,28 +200,36 @@ % Pour les physiciens (et chimistes) l'affaire est plus claire puisque % les quantités doivent toujours être écrites en italique et les unités ou les constantes en % romain (forme droite), conformément à la norme ISO~\cite{TYPMA}~\cite{NIST}~\cite{ICTNS}. -% Ainsi la constante $\mbox{\textpi} \approx 3,14$ ne s'écrit pas de la même manière -% qu'une variable $\itpi$. +% Ainsi la constante $\pi \approx 3,14$ ne s'écrit pas de la même manière +% qu'une variable $\itpi$. % Dans la section \og How to get upright small Greek letters \fg, % la documentation de \textsf{isomath} de Günter Milde~\cite{ISOM} -% fait le point sur les différentes méthodes pour obtenir les lettres grecques +% expose différentes méthodes pour obtenir les lettres grecques % en forme droite. -% Par exemple les extensions \textsf{mathdesign}~\cite{DESIGN}, \textsf{fourier}~\cite{FOUR} +% Par exemple les extensions \textsf{mathdesign}~\cite{DESIGN}, +% \textsf{fourier}~\cite{FOUR} % ou \textsf{kpfonts}~\cite{KPF} disposent d'options permettant % l'écriture automatique des lettres grecques minuscules en forme droite -% aussi bien que des majuscules en italique. -% Citons également \textsf{newpx}, \textsf{newtx} et \textsf{libertinust1math} +% (ou des majuscules en italique). +% Citons également \textsf{newpxmath}, \textsf{newtxmath} +% \footnote{L'extension \textsf{newtxmath} doit être chargée +% après \textsf{frenchmath} qui utilise \textsf{amssymb} car la compilation +% produit sinon un message d'erreur pour la commande +% \texttt{\bslash Bbbk}.} +% et \textsf{libertinust1math} % de Michael Sharpe, -% \textsf{pxgreeks}, \textsf{txgreeks} et \textsf{libgreek} de Jean-François Burnol, +% \textsf{pxgreeks}, \textsf{txgreeks} +% \footnote{Si on utilise \textsf{amsmath} (ou \textsf{mismath}), +% \textsf{pxgreeks} ou \textsf{txgreeks} doit être chargée +% \emph{après} \textsf{amsmath} (ou \textsf{mismath}), +% pour éviter une erreur de compilation due à la redéfinition des commandes +% \texttt{\bslash iint}, \texttt{\bslash iiint}, \texttt{\bslash iiiint}, +% \texttt{\bslash idotsint}.} +% et \textsf{libgreek} de Jean-François Burnol, % qui donnent de beaux résultats pour une utilisation avec -% respectivement les fontes Palatino, Times et Libertine -% \footnote{Attention ces trois dernières extensions doivent être chargées -% \emph{après} \textsf{amsmath} (et donc aussi \textsf{mismath}). -% En effet, elles redéfinissent les commandes \texttt{\bslash iint}, -% \texttt{\bslash iiint}, \texttt{\bslash iiiint}, \texttt{\bslash idotsint}.}. +% respectivement les fontes Palatino, Times et Libertinus. % % \medskip -% \pagebreak % \DescribeEnv{upgreek} % Avec la même philosophie, \textsf{frenchmath} fournit l'option \texttt{upgreek} % basée sur l'extension \textsf{upgreek} de Walter Schmidt~\cite{UPGREEK} qui donne @@ -239,7 +246,7 @@ % L'option \texttt{upgreek} de \textsf{frenchmath} redéfinit ensuite les commandes % |\alpha|, |\beta|, \ldots % pour produire automatiquement les lettres en forme droite -% $\alpha$, $\beta$, \ldots, $\pi$, \ldots, les formes italiques, $\italpha, \itbeta$, \ldots, +% $\alpha$, $\beta$, \ldots, $\pi$, \ldots ; les formes italiques, $\italpha, \itbeta$, \ldots, % $\itpi$, \ldots, restant cependant disponibles avec les commandes % |\italpha|, |\itbeta|, \ldots, |\itpi|, \ldots % @@ -248,13 +255,10 @@ % Avec \LaTeX, les lettres grecques majuscules sont automatiquement composées % en forme droite, néanmoins il peut être utile de disposer de toutes % les lettres grecques dans le même style ; ainsi l'extension \textsf{upgreek} -% propose aussi |\Upgamma|, \ldots, |Upomega| : $\Upgamma, \ldots, \Upomega$. +% propose aussi |\Upgamma|, \ldots, |Upomega| : $\Upgamma, \ldots, \Upomega$. % L'option \texttt{Upgreek} de \textsf{frenchmath} redéfinit les majuscules -% |\Gamma|,\ldots, |\Omega| pour correspondre à ces variantes. -% Par contre l'on n'a alors plus accès aux caractères d'origine : $\Gamma, \ldots, \Omega$ -% \footnote{L'extension \textsf{textalpha} fournit également les lettres grecques -% majuscules, mais elles semblent vraiment identiques à celles par défaut de \LaTeX. -% Il n'y a donc pas lieu d'envisager une option particulière comme \texttt{Upgreek}.}. +% |\Gamma|, \ldots, |\Omega| pour correspondre à ces variantes. +% Par contre l'on n'a alors plus accès aux caractères d'origine : $\Gamma, \ldots, \Omega$. % % L'option \texttt{Upgreek} reprend aussi % les minuscules grecques de l'option \texttt{upgreek}, qu'il est donc @@ -265,11 +269,10 @@ % donne accès aux lettres en forme droite \textalpha, \textbeta, \ldots, % \textpi, \ldots, % mais en mode texte avec |\textalpha|, |\textbeta|, etc. -% Ces glyphes se marient particulièrement bien avec la fonte Latin Modern -% utilisée ici. +% Ces glyphes se marient particulièrement bien avec la fonte Latin Modern. % Par contre le theta produit n'est pas vraiment celui attendu, \texttheta, -% à moins d'utiliser la fonte \textsf{libertinus} ou -% de compiler par \XeLaTeX\ avec l'extension \textsf{fontspec} +% à moins d'utiliser la fonte \textsf{libertinus} ou l'extension \textsf{fontspec} +% avec \XeLaTeX\ % (et seulement avec les versions de \textsf{textalpha} postérieures à 2020) ; % d'autre part le rendu de |\textpi| est parfois curieusement déformé. % @@ -293,6 +296,7 @@ % L'extension \textsf{babel}, avec l'option |french|~\cite{BABEL}, fournit deux bascules : % |\DecimalMathComma| et |\StandardMathComma|, qui permettent d'adapter % le comportement de la virgule du mode mathématique. +% % Deux autres extensions bien commodes permettent néanmoins de se passer de ces bascules % \footnote{Dans ce cas il ne faut pas utiliser les bascules, % au risque de rendre ces extensions inopérantes.}. @@ -316,12 +320,12 @@ % de l'extension \textsf{numprint}. % Par contre \textsf{icomma} fonctionne et était utilisé % jusqu'à la version 1.5 de \textsf{frenchmath}. -% Un code proposé par Jean-François Burnol permet, depuis la \textsf{frenchmath} 1.6, d'utiliser -% \textsf{ncccomma} qui sera donc chargée par \textsf{frenchmath} -% à la place de \textsf{icomma} +% Depuis la version 1.6, \textsf{frenchmath} charge \textsf{ncccomma} grâce +% à un code proposé par Jean-François Burnol qui permet d'utiliser conjointement +% \textsf{ncccomma} et \textsf{numprint} avec \texttt{autolanguage} % \footnote{Mentionnons aussi l'article \emph{Intelligent commas} % de Claudio Beccari~\cite{BECC} qui propose une solution simplifiée -% par rapport à \textsf{ncccomma} mais dont l'avantage est discutable.}. +% par rapport à \textsf{ncccomma} mais dont l'avantage semble discutable.}. % % \medskip % Lorsque l'on utilise l'extension \textsf{pstricks-add} de \textsf{PSTricks} @@ -341,19 +345,21 @@ % % \medskip % \DescribeMacro{[ ]} -% Les crochets ouvrants et fermants $[$ and $]$ ont été redéfinis pour le mode -% mathématique car l'espace les précédant est souvent incorrecte +% Les crochets ouvrants et fermants $[$ et $]$ ont été redéfinis pour le mode +% mathématique car l'espace extérieure est souvent incorrecte % \footnote{L'extension \textsf{interval} fournit une autre % solution basée sur la macro \texttt{\bslash interval} ; % citons aussi \textsf{mathtools} et sa commande -% \texttt{\bslash DeclarePairedDelimiter}.}: +% \texttt{\bslash DeclarePairedDelimiter}. +% Sinon l'extension \textsf{mismath} définit les crochets de la même manière +% que \textsf{frenchmath}, sans incompatibilité entre les deux.}: % \begin{center} -% |$x\in ]0,\pi[ \cup ]2\pi,3\pi[$| $\rightarrow$ +% |$x\in ]0,\pi[ \cup ]2\pi,3\pi[$| \hfill % $\left\{\begin{array}{@{\,}ll} -% x\in \OB 0,\mbox{\textpi} \CB \cup \OB 2\mbox{\textpi}, 3\mbox{\textpi} \CB -% &\mbox{sans \textsf{frenchmath}}\\ -% x\in ]0, \mbox{\textpi}[ \cup ]2\mbox{\textpi}, 3\mbox{\textpi}[ -% &\mbox{avec \textsf{frenchmath}} +% x\in \OB 0,\pi \CB \cup \OB 2\pi, 3\pi \CB +% &\mbox{sans \textsf{frenchmath},}\\ +% x\in ]0, \pi[ \cup ]2\pi, 3\pi[ +% &\mbox{avec \textsf{frenchmath}.} % \end{array}\right.$ % \end{center} % Dans notre code, les symboles $[$ et $]$ ne sont plus définis comme des délimiteurs. @@ -364,11 +370,10 @@ % contient un symbole d'opération car les espaces autour de l'opération seront alors % trop grandes : |$[-1, 1]$| donne % $[-1, 1]$ au lieu de $[{-1}, 1]$ -% \footnote{Problème signalé par J.F. Burnol, ce qui n'enlève pas l'intérêt de +% \footnote{Problème signalé par J.F. Burnol, mais cela n'enlève pas l'intérêt de % cette redéfinition.}. % Pour rétablir les espaces correctes, il faut % entourer le $-$ ou le $-1$ par des accolades ou utiliser |\left| et |\right|. -% % \subsection{Quelques macros et alias utiles} % % \DescribeMacro{\curs} @@ -402,14 +407,11 @@ % \DescribeMacro{\paral} % La commande |\paral| fournit la \emph{relation} % \footnote{Pour noter que deux objets sont perpendiculaires, on utilise -% \texttt{\bslash perp}, défini comme une \emph{relation} mathématique plutôt que +% \texttt{\bslash perp} : $\curs{D}\perp\curs{D}'$, +% défini comme une \emph{relation} mathématique plutôt que % \texttt{\bslash bot} défini comme un \emph{symbole} (les espacements diffèrent).} -% du parallélisme : $\paral$, -% plutôt que sa version anglaise |\parallel| : $\parallel$.* -% \DescribeMacro{\paral*} -% Avec certaines fontes mathématiques (\textsf{libertinust1math}, -% \textsf{mathastext}+\textsf{times}, etc.), les barres obliques peuvent se trouver -% trop serrées, on peut utiliser alors |\paral*| qui les écarte un peu plus. +% du parallélisme : $\curs{D}\paral\curs{D}'$, +% plutôt que sa version anglaise |\parallel| : $\curs{D}\parallel\curs{D}'$.* % % \medskip % \DescribeMacro{\ssi} @@ -420,13 +422,13 @@ % Le modulo se compose normalement entre parenthèses, avec |\pmod|, % mais on rencontre aussi, en français, le modulo entre crochets, % ce que permet la commande |\cmod| en respectant le bon espacement -% propre au modulo : $ 5 \equiv 53 \cmod{12}$. +% propre au modulo : $ 53 \equiv 5 \cmod{12}$. % % \subsection{Identifiants de \og fonctions\fg classiques} % % \DescribeMacro{\pgcd} \DescribeMacro{\ppcm} % En arithmétique, nous avons les classiques |\pgcd| et |\ppcm|, -% qui diffèrent de leur version anglo-saxonne |\gcd| et |\lcm| +% qui diffèrent de leur version anglaise |\gcd| et |\lcm| % \footnote{Cette dernière n'est pas implémentée en standard dans \LaTeX\ % (mais dans \textsf{mismath}).}. % @@ -458,7 +460,7 @@ % avec les macros \LaTeX\ standard |\cosh|, |\sinh|, |\tanh|. % Néanmoins les écritures $\ch x$, $\sh x$ et $\th x$, qui sont la norme % avec les langues d'Europe de l'Est~\cite{COMP}, -% sont aussi utilisées en France~\cite{RTIN}. +% sont aussi utilisées en français~\cite{RTIN}. % On les obtient avec les commandes |\ch|, |\sh| et |\th| % \footnote{La commande \texttt{\bslash th} existe déjà, pour le mode texte uniquement, % et produit \th ; @@ -488,7 +490,7 @@ % % Signalons que les macros de ce paragraphe peuvent ne pas fonctionner % avec certaines fontes mathématiques qui ne connaissent pas \texttt{\bslash jmath}, -% par exemple avec l'extension \textsf{mathptmx} (basée sur la fonte de texte Times). +% par exemple l'extension \textsf{mathptmx} (basée sur la fonte de texte Times). % % \StopEventually{} % @@ -507,8 +509,8 @@ \AtBeginDocument{ \@ifpackageloaded{mathdesign}{ - \PackageWarningNoLine{frenchmath}{Package mathdesign is loaded, - \MessageBreak + \PackageWarningNoLine{frenchmath}{Package mathdesign + is loaded, \MessageBreak I don't load mathrsfs and amssymb packages} }{ \RequirePackage{mathrsfs} % fournit les majuscules cursives @@ -528,8 +530,9 @@ }{} } % \end{macrocode} -% Merci à J.F.~Burnol pour ce patch permettant d'utiliser \textsf{ncccomma} -% à la place de \textsf{icomma}, ainsi que pour l'amélioration du code ci-après, +% La macro ci-dessus permet d'utiliser \textsf{ncccomma} à la place de \textsf{icomma}. +% Elle m'a été proposée par Jean-François Burnol, de même qu'une amélioration +% du code ci-après, % redéfinissant les majuscules mathématiques. % % Sauf si l'option \texttt{capsit} est activée, on redéfinit toutes les lettres majuscules @@ -538,6 +541,7 @@ % par exemple. % \smallskip % \begin{macrocode} + \ifthenelse{\boolean{capsit}}{}{ \AtBeginDocument{ \DeclareMathSymbol{A}\mathalpha{operators}{`A} @@ -597,8 +601,8 @@ \@ifundefined{itnu}{\let\itnu\nu}{} \@ifundefined{itxi}{\let\itxi\xi}{} \@ifundefined{itpi}{\let\itpi\pi}{ - \PackageWarningNoLine{frenchmath}{Italicized Greek \bslash itpi - already exist \MessageBreak + \PackageWarningNoLine{frenchmath}{Italicized Greek + \bslash itpi already exist \MessageBreak and will not be redefined} } \@ifundefined{itrho}{\let\itrho\rho}{} @@ -671,9 +675,16 @@ \newcommand\infeg{\leqslant} \newcommand\supeg{\geqslant} \newcommand\vide{\varnothing} -\newcommand\@@paral{\mathrel{/\!\!/}} -\newcommand\@paral{\mathrel{/\!/}} % version étoilée avec moins d'espace -\newcommand\paral{\@ifstar{\@paral}{\@@paral}} +\newcommand\paral{\mathrel{\ooalign{$\mkern-1.75mu/\mkern1.75mu$\cr% + $\mkern1.75mu/\mkern-1.75mu$}} +} +% \end{macrocode} +% Cette définition remplace, depuis la version 2.2, +% l'ancienne définition plus simple |\mathrel{/\!\!/}|, mais qui donnait des barres +% trop serrées avec \textsf{mathastext} + \textsf{times} ou avec \textsf{libertinust1math}. +% Merci à Jean-François Burnol de me l'avoir fait remarquer +% et pour ses suggestions dans la mise au point d'une macro plus efficace. +% \begin{macrocode} \newcommand\ssi{si, et seulement si,\xspace} \newcommand*\cmod[1]{\quad[#1]} @@ -687,11 +698,11 @@ \DeclareMathOperator{\Vect}{\Vect} \DeclareMathOperator{\ch}{ch} \DeclareMathOperator{\sh}{sh} -\AtBeginDocument{\let\oldth\th %\th existe déjà (mode texte uniquement) +\AtBeginDocument{\let\oldth\th %\th existe déjà (mode texte) \renewcommand\th{\TextOrMath{\oldth}{\operatorname{th}}}} -{\catcode`\|=\z@ \catcode`\\=12 |gdef|bslash{\}} % la commande \bslash -\PackageWarningNoLine{frenchmath}{ - Command \bslash tgh in now obsolete, \MessageBreak +{\catcode`\|=\z@ \catcode`\\=12 |gdef|bslash{\}} % commande \bslash +\PackageWarningNoLine{frenchmath}{Command \bslash tgh in now obsolete, + \MessageBreak use \bslash th instead} % \end{macrocode} % La commande |\bslash| provient du package \textsf{doc.sty} de Frank @@ -699,7 +710,6 @@ % (qui ne fonctionne pas ici). % \begin{macrocode} - \newcommand\@Oij{% \ensuremath{\left(O, \vec{\imath}, \vec{\jmath}\,\right)}\xspace} \newcommand\@@Oij{% @@ -733,6 +743,8 @@ \vec{\vphantom{t}\smash{k}}\,\right)}% \xspace} % \end{macrocode} +% +% \medskip % \begin{thebibliography}{19} % \begin{raggedright} % \bibitem{RTIN} \emph{Lexique des règles typographiques en usage à l’Imprimerie Nationale}. @@ -786,7 +798,7 @@ % 2011, No.\@1. % \url{https://tug.org/pracjourn/2011-1/beccari/Intcomma.pdf}. % \bibitem{MIS} \emph{\textsf{mismath} -- Miscellaneus mathematical macros}. -% Antoine Missier, CTAN, v1.10 25/10/2022. +% Antoine Missier, CTAN, v2.0 11/11/2022. % \end{raggedright} % \end{thebibliography} diff --git a/macros/latex/contrib/frenchmath/frenchmath.pdf b/macros/latex/contrib/frenchmath/frenchmath.pdf index 950748b625..08825a28e0 100644 Binary files a/macros/latex/contrib/frenchmath/frenchmath.pdf and b/macros/latex/contrib/frenchmath/frenchmath.pdf differ diff --git a/macros/latex/contrib/nicematrix/nicematrix-french.pdf b/macros/latex/contrib/nicematrix/nicematrix-french.pdf index 4dfeea879f..191739e8f6 100644 Binary files a/macros/latex/contrib/nicematrix/nicematrix-french.pdf and b/macros/latex/contrib/nicematrix/nicematrix-french.pdf differ diff --git a/macros/latex/contrib/nicematrix/nicematrix-french.tex b/macros/latex/contrib/nicematrix/nicematrix-french.tex index 352fb51efb..7ada2b36db 100644 --- a/macros/latex/contrib/nicematrix/nicematrix-french.tex +++ b/macros/latex/contrib/nicematrix/nicematrix-french.tex @@ -1794,7 +1794,7 @@ Stéphanie \\ \bigskip On peut aussi utiliser dans la commande |\rowlistcolors| une série de couleurs définie par la commande |\definecolorseries| de \pkg{xcolor} (et initialisée -avec la commande |\resetcolorseries|\footnote{Pour l'initialisation, on a +avec |\resetcolorseries|\footnote{Pour l'initialisation, on a utilisé dans l'exemple qui suit le compteur |iRow| qui, quand il est utilisé dans le |\CodeBefore| (ou le |\CodeAfter|) désigne le nombre de rangées du tableau : cf~p.~\pageref{iRow}. Cela permet un ajustement de la gradation des @@ -2228,16 +2228,12 @@ réglages supplémentaires). \medskip Lorsque l'extension \pkg{varwidth} est chargée, ces colonnes |V| de -\pkg{varwidth} sont prises en charge par \pkg{nicematrix}. Dans le cadre de -\pkg{nicematrix}, l'un des intérêts des colonnes de type |V| par rapport aux -colonnes de type |p|, |m| ou |b| est que, pour les cases d'une telle colonne, -le nœud PGF-Tikz créé pour le contenu d'une telle case a une largeur ajustée -au contenu de la cellule en question : cf. p.~\pageref{node-V}. +\pkg{varwidth} sont prises en charge par \pkg{nicematrix}. \medskip \begin{Verbatim} \begin{NiceTabular}[corners=NW,hvlines]{~emphase#V{3cm}V{3cm}V{3cm}@} -& un très très très très long texte & un très très très très long texte \\ +& un texte & un très très très très long texte \\ un très très très très long texte \\ un très très très très long texte \end{NiceTabular} @@ -2246,13 +2242,20 @@ un très très très très long texte \medskip \begin{center} \begin{NiceTabular}[corners=NW,hvlines]{V{3cm}V{3cm}V{3cm}} -& un très très très très long texte & un très très très très long texte \\ +& un texte & un très très très très long texte \\ un très très très très long texte \\ un très très très très long texte \end{NiceTabular} \end{center} +Dans le cadre de +\pkg{nicematrix}, l'un des intérêts des colonnes de type |V| par rapport aux +colonnes de type |p|, |m| ou |b| est que, pour les cases d'une telle colonne, +le nœud PGF-Tikz créé pour le contenu d'une telle case a une largeur ajustée +au contenu de la cellule en question : cf. p.~\pageref{node-V}. + +\medskip Remarquons que l'extension \pkg{varwidth} a quelques problèmes (au moins dans sa version 0.92). Par exemple, avec LuaLaTeX, elle ne fonctionne pas si le contenu commence par une instruction |\color|. @@ -4983,9 +4986,9 @@ doit être chargé avant le |\documentclass|: \end{Verbatim} \medskip -L'extension \pkg{nicematrix} n'est pas parfaitement compatible avec la classe -\cls{ltjarticle}: la détection des coins vides (cf. p.~\pageref{corners}) risque -d'être erronée dans certaines circonstances. +L'extension \pkg{nicematrix} n'est pas parfaitement compatible avec les classes +et extensions de \LuaTeX-ja: la détection des coins vides (cf. +p.~\pageref{corners}) risque d'être erronée dans certaines circonstances. \medskip L'extension \pkg{nicematrix} n'est pas parfaitement compatible avec l'extension diff --git a/macros/latex/contrib/nicematrix/nicematrix.dtx b/macros/latex/contrib/nicematrix/nicematrix.dtx index ed200cd901..479c0b204b 100644 --- a/macros/latex/contrib/nicematrix/nicematrix.dtx +++ b/macros/latex/contrib/nicematrix/nicematrix.dtx @@ -17,8 +17,8 @@ % % \fi % \iffalse -\def\myfileversion{6.13b} -\def\myfiledate{2022/10/06} +\def\myfileversion{6.13c} +\def\myfiledate{2022/11/15} % % %<*batchfile> @@ -133,6 +133,9 @@ version 2005/12/01 or later. % and \pkg{amsmath} but with extended features. % \end{abstract} % +% +% +% % \vspace{1cm} % \hspace{1cm} % $\begin{bNiceArray}{cccc}[first-row,first-col, @@ -1236,11 +1239,11 @@ version 2005/12/01 or later. % inter-rule space (as possible with \pkg{colortbl} for instance). % % \begin{itemize} -% \item the key |multiplicity| is the number to consecutive rules that will be +% \item the key |multiplicity| is the number of consecutive rules that will be % drawn: for instance, a value of $2$ will create double rules such those % created by |\hline\hline| or \verb+||+ in the preamble of an environment; % -% \item the key |color| sets the color of the rule ; +% \item the key |color| sets the color of the rules ; % % \item the key |sep-color| sets the color between two successive rules (should be % used only in conjonction with |multiplicity|). @@ -1793,7 +1796,7 @@ version 2005/12/01 or later. % of the colors to the size of the tabular.}). % % \smallskip -% \begin{BVerbatim}[boxwidth=12cm,baseline=c] +% \begin{BVerbatim}[boxwidth=13cm,baseline=c] % \begin{NiceTabular}{c} % \CodeBefore % ~emphase#\definecolorseries{BlueWhite}{rgb}{last}{blue}{white}@ @@ -1867,7 +1870,7 @@ version 2005/12/01 or later. % \bigskip % One should remark that all the previous commands are compatible with the % commands of \pkg{booktabs} (|\toprule|, |\midrule|, |\bottomrule|, etc). -% However, \pkg{booktabs} is not loaded by \pkg{nicematrix}. +% However, \pkg{booktabs} is \emph{not} loaded by \pkg{nicematrix}. % % \medskip % \begin{scope} @@ -2211,15 +2214,12 @@ version 2005/12/01 or later. % % \smallskip % When the package \pkg{varwidth} is loaded, the columns |V| of \pkg{varwidth} -% are supported by \pkg{nicematrix}. Concerning \pkg{nicematrix}, one of the -% interests of this type of columns is that, for a cell of a column of type~|V|, -% the PGF/Tikz node created by \pkg{nicematrix} for the content of that cell has -% a width adjusted to the content of the cell : cf. p.~\pageref{node-V}. +% are supported by \pkg{nicematrix}. % % \medskip % \begin{Verbatim} % \begin{NiceTabular}[corners=NW,hvlines]{~emphase#V{3cm}V{3cm}V{3cm}@} -% & some very very very long text & some very very very long text \\ +% & some text & some very very very long text \\ % some very very very long text \\ % some very very very long text % \end{NiceTabular} @@ -2228,12 +2228,18 @@ version 2005/12/01 or later. % \medskip % \begin{center} % \begin{NiceTabular}[corners=NW,hvlines]{V{3cm}V{3cm}V{3cm}} -% & some very very very long text & some very very very long text \\ +% & some text & some very very very long text \\ % some very very very long text \\ % some very very very long text % \end{NiceTabular} % \end{center} % +% \bigskip +% Concerning \pkg{nicematrix}, one of the +% interests of this type of columns is that, for a cell of a column of type~|V|, +% the PGF/Tikz node created by \pkg{nicematrix} for the content of that cell has +% a width adjusted to the content of the cell : cf. p.~\pageref{node-V}. + % \bigskip % One should remark that the extension \pkg{varwidth} (at least in its version % 0.92) has some problems: for instance, with LuaLaTeX, it does not work when @@ -4910,13 +4916,13 @@ version 2005/12/01 or later. % \end{Verbatim} % % \bigskip -% The package \pkg{nicematrix} is not fully compatible with the class -% \cls{ltjarticle}: the detection of the empty corners (cf. -% p.~\pageref{corners}) may be wrong. +% The package \pkg{nicematrix} is not fully compatible with the packages and classes +% of \LuaTeX-ja: the detection of the empty corners (cf. % p.~\pageref{corners}) +% may be wrong in some circonstances. % % \bigskip % The package \pkg{nicematrix} is not fully compatible with the package -% \pkg{arydshln} (because this package redefines many internal of \pkg{array}). +% \pkg{arydshln} (because this package redefines many internals of \pkg{array}). % By any means, in the context of \pkg{nicematrix}, it's recommended to draw % dashed rules with the tools provided by \pkg{nicematrix}, by creating a % customized line style with |custom-line|: cf.~p.~\pageref{custom-line}. @@ -4933,7 +4939,7 @@ version 2005/12/01 or later. % loaded.\footnote{By default, \pkg{nicematrix} only loads \textsc{pgf}, which is % a sub-layer of Tikz.} % -% For the following example, we need also the Tikz library |patterns|. +% For the following example, we also need the Tikz library |patterns|. % % \begin{Verbatim} % \usetikzlibrary{patterns} @@ -4988,7 +4994,7 @@ version 2005/12/01 or later. % \medskip % First, we write a command |\stars| similar the well-known commands % |\arabic|, |\alph|, |\Alph|, etc. which produces a number of stars equal to -% its argument \footnote{In fact: the value of its argument.} +% its argument\footnote{In fact: the value of its argument.}. % \begin{Verbatim} % \ExplSyntaxOn % \NewDocumentCommand ~emphase#\stars@ { m } @@ -8987,7 +8993,7 @@ version 2005/12/01 or later. % \footnote{cf. |\nicematrix@redefine@check@rerun|}. % \begin{macrocode} \bool_if:NT \c_@@_booktabs_loaded_bool - { \tl_put_left:Nn \@BTnormal \@@_create_row_node_i: } % modified in 6.10a + { \tl_put_left:Nn \@BTnormal \@@_create_row_node_i: } \box_clear_new:N \l_@@_cell_box \normalbaselines % \end{macrocode} @@ -10048,7 +10054,7 @@ version 2005/12/01 or later. % \end{macrocode} % % \bigskip -% We want to write on the |aux| file all the informations corresponding to the +% We write on the |aux| file all the informations corresponding to the % current environment. % \begin{macrocode} \iow_now:Nn \@mainaux { \ExplSyntaxOn } @@ -13631,7 +13637,13 @@ version 2005/12/01 or later. { \@@_qpoint:n { row - \int_use:N \l_@@_initial_i_int - base } \dim_set:Nn \l_@@_y_initial_dim - { \pgf@y + ( \box_ht:N \strutbox + \extrarowheight ) * \arraystretch } + { + \fp_to_dim:n + { + \pgf@y + + ( \box_ht:N \strutbox + \extrarowheight ) * \arraystretch + } + } % modified 6.13c \int_step_inline:nnn \l_@@_first_col_int \g_@@_col_total_int { \cs_if_exist:cT @@ -13653,7 +13665,8 @@ version 2005/12/01 or later. { \@@_qpoint:n { row - \int_use:N \l_@@_final_i_int - base } \dim_set:Nn \l_@@_y_final_dim - { \pgf@y - ( \box_dp:N \strutbox ) * \arraystretch } + { \fp_to_dim:n { \pgf@y - ( \box_dp:N \strutbox ) * \arraystretch } } + % modified 6.13c \int_step_inline:nnn \l_@@_first_col_int \g_@@_col_total_int { \cs_if_exist:cT @@ -19207,10 +19220,17 @@ version 2005/12/01 or later. { \@@_qpoint:n { row - \l_@@_first_i_tl - base } \dim_set:Nn \l_@@_y_initial_dim - { \pgf@y + ( \box_ht:N \strutbox + \extrarowheight ) * \arraystretch } + { + \fp_to_dim:n + { + \pgf@y + + ( \box_ht:N \strutbox + \extrarowheight ) * \arraystretch + } + } % modified 6.13c \@@_qpoint:n { row - \l_@@_last_i_tl - base } \dim_set:Nn \l_@@_y_final_dim - { \pgf@y - ( \box_dp:N \strutbox ) * \arraystretch } + { \fp_to_dim:n { \pgf@y - ( \box_dp:N \strutbox ) * \arraystretch } } + % modified 6.13c \int_step_inline:nnn \l_@@_first_col_int \g_@@_col_total_int { \cs_if_exist:cT diff --git a/macros/latex/contrib/nicematrix/nicematrix.pdf b/macros/latex/contrib/nicematrix/nicematrix.pdf index bae5622a6d..7f09289c8a 100644 Binary files a/macros/latex/contrib/nicematrix/nicematrix.pdf and b/macros/latex/contrib/nicematrix/nicematrix.pdf differ diff --git a/macros/latex/contrib/projlib/ProjLib.dtx b/macros/latex/contrib/projlib/ProjLib.dtx index 3ab56e9868..9d9f00ec58 100644 --- a/macros/latex/contrib/projlib/ProjLib.dtx +++ b/macros/latex/contrib/projlib/ProjLib.dtx @@ -19,84 +19,84 @@ %<*ProjLib> \ProvidesExplPackage {ProjLib} - {2022/08/05} {} + {2022/11/15} {} {Collective interface of the ProjLib toolkit} % % %<*projlib-author> \ProvidesExplPackage {projlib-author} - {2022/08/05} {} + {2022/11/15} {} {Enhanced author information block} % % %<*projlib-datetime> \ProvidesExplPackage {projlib-datetime} - {2022/08/05} {} + {2022/11/15} {} {Convert numeric date-time string to natural language} % % %<*projlib-draft> \ProvidesExplPackage {projlib-draft} - {2022/08/05} {} + {2022/11/15} {} {Useful commands during draft stage} % % %<*projlib-font> \ProvidesExplPackage {projlib-font} - {2022/08/05} {} + {2022/11/15} {} {Font selection and configuration} % % %<*projlib-language> \ProvidesExplPackage {projlib-language} - {2022/08/05} {} + {2022/11/15} {} {Multi-language configuration} % % %<*projlib-logo> \ProvidesExplPackage {projlib-logo} - {2022/08/05} {} + {2022/11/15} {} {The ProjLib logo} % % %<*projlib-math> \ProvidesExplPackage {projlib-math} - {2022/08/05} {} + {2022/11/15} {} {Efficient math setup} % % %<*projlib-paper> \ProvidesExplPackage {projlib-paper} - {2022/08/05} {} + {2022/11/15} {} {Configuration of the paper style} % % %<*projlib-text> \ProvidesExplPackage {projlib-text} - {2022/08/05} {} + {2022/11/15} {} {Text-related commands} % % %<*projlib-theorem> \ProvidesExplPackage {projlib-theorem} - {2022/08/05} {} + {2022/11/15} {} {Configuration of theorem-like environments} % % %<*projlib-titlepage> \ProvidesExplPackage {projlib-titlepage} - {2022/08/05} {} + {2022/11/15} {} {Commands for rendering the title page} % @@ -2262,9 +2262,9 @@ \raisebox{\baselineskip}{ \cs_if_exist:cT { hypertarget } { - \hypertarget { DNF. \arabic { projlib_draft_DNF_counter } } {} + \hypertarget { DNF. \jobname. \arabic { projlib_draft_DNF_counter } } {} } - \label { DNF. \arabic { projlib_draft_DNF_counter } } + \label { DNF. \jobname. \arabic { projlib_draft_DNF_counter } } } \nobreak \projlib_draft_plain_box:nn { projlib_draft_DNF_color } @@ -2297,10 +2297,10 @@ { \cs_if_exist:cTF { hyperlink } { - \exp_not:N \hyperlink { DNF. \int_value:w \theprojlib_draft_DNF_counter } { \exp_not:N \pageref* { DNF. \int_value:w \theprojlib_draft_DNF_counter } } + \exp_not:N \hyperlink { DNF. \jobname. \int_value:w \theprojlib_draft_DNF_counter } { \exp_not:N \pageref* { DNF. \jobname. \int_value:w \theprojlib_draft_DNF_counter } } } { - \exp_not:N \pageref* { DNF. \int_value:w \theprojlib_draft_DNF_counter } + \exp_not:N \pageref* { DNF. \jobname. \int_value:w \theprojlib_draft_DNF_counter } } } \tl_gput_right:Nn \g__projlib_draft_DNF_report_tl @@ -2317,19 +2317,22 @@ \bool_if:NF \l__projlib_draft_no_report_page_bool { - \hook_gput_code:nnn { enddocument } { projlib-draft } + \hook_gput_code:nnn { begindocument/before } { projlib-draft } { - \tl_if_blank:VF \g__projlib_draft_DNF_report_tl + \hook_gput_code:nnn { enddocument } { projlib-draft } { - \clearpage - \addtocounter{page}{-1} - \pagestyle { empty } - \color { projlib_draft_DNF_color } - \noindent - \projlib_draft_DNF_font - \projlib_draft_DNF_report_text - \par \bigskip - \g__projlib_draft_DNF_report_tl + \tl_if_blank:VF \g__projlib_draft_DNF_report_tl + { + \clearpage + \addtocounter{page}{-1} + \pagestyle { empty } + \color { projlib_draft_DNF_color } + \noindent + \projlib_draft_DNF_font + \projlib_draft_DNF_report_text + \par \bigskip + \g__projlib_draft_DNF_report_tl + } } } } @@ -3702,13 +3705,13 @@ % i.e. \ProvideDocumentCommand { \ie } { } { - \projlib_text_abbreviation_generic:nn { \textit{i. \nobreak \hskip.2ex \nobreak e.} } { \skip_horizontal:n { -.25ex } } + \projlib_text_abbreviation_generic:nn { \textit{i. \nobreak \hskip.2ex \nobreak e.} } { \skip_horizontal:n { -.15ex ~plus -.15\tex_fontdimen:D 3 \tex_font:D~minus -.15\tex_fontdimen:D 4 \tex_font:D } } } % e.g. \ProvideDocumentCommand { \eg } { } { - \projlib_text_abbreviation_generic:nn { \textit{e. \nobreak \hskip.2ex \nobreak g.} } { \skip_horizontal:n { -.25ex } } + \projlib_text_abbreviation_generic:nn { \textit{e. \nobreak \hskip.2ex \nobreak g.} } { \skip_horizontal:n { -.15ex ~plus -.15\tex_fontdimen:D 3 \tex_font:D~minus -.15\tex_fontdimen:D 4 \tex_font:D } } } % cf. @@ -3858,8 +3861,12 @@ \RequirePackage { amsthm } \RequirePackage { create-theorem } -\RenewCommandCopy \cref \crefthe -\RenewCommandCopy \Cref \Crefthe +\RenewCommandCopy \cref \crefthe +\RenewCommandCopy \Cref \Crefthe +\RenewCommandCopy \namecref \namecrefthe +\RenewCommandCopy \nameCref \nameCrefthe +\RenewCommandCopy \namecrefs \namecrefsthe +\RenewCommandCopy \nameCrefs \nameCrefsthe \bool_if:NF \l__projlib_theorem_no_theorems_bool { @@ -5236,10 +5243,17 @@ \usetikzlibrary { calc } \ExplSyntaxOn +\tl_new:N \l_projlib_titlepage_title_page_name_tl +\tl_new:N \l_projlib_titlepage_license_page_name_tl +\tl_set:Nn \l_projlib_titlepage_title_page_name_tl { Cover } +\tl_set:Nn \l_projlib_titlepage_license_page_name_tl { License } + \tl_new:N \l_projlib_titlepage_logo_tl \tl_new:N \l_projlib_titlepage_title_tl \tl_new:N \l_projlib_titlepage_subtitle_tl \tl_new:N \l_projlib_titlepage_author_tl +\tl_new:N \l_projlib_titlepage_info_tl +\tl_new:N \l_projlib_titlepage_license_tl \tl_new:N \l_projlib_titlepage_date_tl \tl_new:N \l_projlib_titlepage_style_tl @@ -5266,6 +5280,16 @@ , subtitle .code:n = { \tl_set:Nn \l_projlib_titlepage_subtitle_tl { \tl_trim_spaces:n { #1 } } } , author .code:n = { \tl_set:Nn \l_projlib_titlepage_author_tl { \tl_trim_spaces:n { #1 } } } , date .code:n = { \tl_set:Nn \l_projlib_titlepage_date_tl { \tl_trim_spaces:n { #1 } } } + , title-page-name .code:n = { \tl_set:Nn \l_projlib_titlepage_title_page_name_tl { \tl_trim_spaces:n { #1 } } } + , title~page~name .code:n = { \tl_set:Nn \l_projlib_titlepage_title_page_name_tl { \tl_trim_spaces:n { #1 } } } + , title page name .code:n = { \tl_set:Nn \l_projlib_titlepage_title_page_name_tl { \tl_trim_spaces:n { #1 } } } + , license-page-name .code:n = { \tl_set:Nn \l_projlib_titlepage_license_page_name_tl { \tl_trim_spaces:n { #1 } } } + , license~page~name .code:n = { \tl_set:Nn \l_projlib_titlepage_license_page_name_tl { \tl_trim_spaces:n { #1 } } } + , license page name .code:n = { \tl_set:Nn \l_projlib_titlepage_license_page_name_tl { \tl_trim_spaces:n { #1 } } } + , info .code:n = { \tl_set:Nn \l_projlib_titlepage_info_tl { \tl_trim_spaces:n { #1 } } } + , info .initial:n = { } + , license .code:n = { \tl_set:Nn \l_projlib_titlepage_license_tl { \tl_trim_spaces:n { #1 } } } + , license .initial:n = { } , style .tl_set:N = \l_projlib_titlepage_style_tl , style .initial:n = { default } , color .code:n = { @@ -5283,10 +5307,20 @@ \cs_new_protected:Nn \projlib_titlepage_render:n { \keys_set:nn { projlib-titlepage-config } { #1 } + \tl_set_eq:NN \thepage \l_projlib_titlepage_title_page_name_tl \begin { titlepage } \cs_if_exist_use:c { projlib_titlepage_render_with_style_ \l_projlib_titlepage_style_tl : } \end { titlepage } - \setcounter { page } { 0 } + \tl_set_eq:NN \thepage \l_projlib_titlepage_license_page_name_tl + \thispagestyle{empty} + \null\vfill + \begin{flushleft} + \tl_use:N \l_projlib_titlepage_info_tl + \end{flushleft} + \tl_use:N \l_projlib_titlepage_license_tl + \cleardoublepage + \setcounter{page}{0} + \pagenumbering{roman} } \cs_new_protected:Nn \projlib_titlepage_render_with_style_default: diff --git a/macros/latex/contrib/projlib/README.md b/macros/latex/contrib/projlib/README.md index e7e0ac1346..2e85b88afa 100644 --- a/macros/latex/contrib/projlib/README.md +++ b/macros/latex/contrib/projlib/README.md @@ -6,7 +6,7 @@ > **ProjLib** can be interpreted as "***Proj**ect **Lib**rary*" (in English), or as "***Proj**et **Lib**re*" (in French, meaning "*Free Project*"). -> **This bundle is dated 2022/08/05. Please note that the documentations are not yet up-to-date.** +> **This bundle is dated 2022/11/15. Please note that the documentations are not yet up-to-date.** ## Introduction -- cgit v1.2.3