diff options
author | Norbert Preining <norbert@preining.info> | 2023-02-08 03:02:25 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-02-08 03:02:25 +0000 |
commit | acf3807dc0f375729de890a56d32a063fc95bacf (patch) | |
tree | e3767d7ef5cb880f029f25ae54c7a842c5b1d1e3 /macros/latex/contrib/physics2 | |
parent | 9c37af35b32c30471236254cae8f82b9a8a6c44e (diff) |
CTAN sync 202302080302
Diffstat (limited to 'macros/latex/contrib/physics2')
16 files changed, 21 insertions, 20 deletions
diff --git a/macros/latex/contrib/physics2/doc/phy2docdef.tex b/macros/latex/contrib/physics2/doc/phy2docdef.tex index 55ee148034..d5d0699a76 100644 --- a/macros/latex/contrib/physics2/doc/phy2docdef.tex +++ b/macros/latex/contrib/physics2/doc/phy2docdef.tex @@ -64,7 +64,7 @@ \newenvironment{example} {\stepcounter{example}\example@start}{\example@end} \author{Zhang Tingxuan} -\date{2023/01/25\quad Version 0.1\thanks{% +\date{2023/02/07\quad Version 0.1.1\thanks{% \url{https://www.github.com/AlphaZTX/physics2}}} \makeatother \endinput
\ No newline at end of file diff --git a/macros/latex/contrib/physics2/doc/physics2-legacy.pdf b/macros/latex/contrib/physics2/doc/physics2-legacy.pdf Binary files differindex 5a2d78c54d..796463ab07 100644 --- a/macros/latex/contrib/physics2/doc/physics2-legacy.pdf +++ b/macros/latex/contrib/physics2/doc/physics2-legacy.pdf diff --git a/macros/latex/contrib/physics2/doc/physics2.pdf b/macros/latex/contrib/physics2/doc/physics2.pdf Binary files differindex a997e2da85..a5721ef991 100644 --- a/macros/latex/contrib/physics2/doc/physics2.pdf +++ b/macros/latex/contrib/physics2/doc/physics2.pdf diff --git a/macros/latex/contrib/physics2/tex/phy-ab.braket.sty b/macros/latex/contrib/physics2/tex/phy-ab.braket.sty index 4e3ab66141..a65ce94bc5 100644 --- a/macros/latex/contrib/physics2/tex/phy-ab.braket.sty +++ b/macros/latex/contrib/physics2/tex/phy-ab.braket.sty @@ -17,7 +17,7 @@ %% The Current Maintainer of this work is Zhang Tingxuan. %% \ProvidesFile{phy-ab.braket.sty} - [2023/1/25 `ab.braket' module of `physics2.sty'] + [2023/01/25 `ab.braket' module of `physics2.sty'] % This module requires \phy@abopen and \phy@abclose from `ab'. \phy@requiremodule{ab} \ifdefined\phy@bra@@ diff --git a/macros/latex/contrib/physics2/tex/phy-ab.legacy.sty b/macros/latex/contrib/physics2/tex/phy-ab.legacy.sty index 018f221997..d21e52f5d1 100644 --- a/macros/latex/contrib/physics2/tex/phy-ab.legacy.sty +++ b/macros/latex/contrib/physics2/tex/phy-ab.legacy.sty @@ -17,7 +17,7 @@ %% The Current Maintainer of this work is Zhang Tingxuan. %% \ProvidesFile{phy-ab.legacy.sty} - [2023/1/25 `ab.legacy' module of `physics2.sty'] + [2023/01/25 `ab.legacy' module of `physics2.sty'] \phy@requiremodule{ab} % The `tight' bool option, true or false. \phy@define@key{ab.legacy}{order}[\mathcal{O}]{\def\phy@ab@ordersym{#1}} diff --git a/macros/latex/contrib/physics2/tex/phy-ab.sty b/macros/latex/contrib/physics2/tex/phy-ab.sty index 9bf477804f..089d01b53c 100644 --- a/macros/latex/contrib/physics2/tex/phy-ab.sty +++ b/macros/latex/contrib/physics2/tex/phy-ab.sty @@ -17,7 +17,7 @@ %% The Current Maintainer of this work is Zhang Tingxuan. %% \ProvidesFile{phy-ab.sty} - [2023/1/25 `ab' (autobraces) module of `physics2.sty'] + [2023/02/07 `ab' (autobraces) module of `physics2.sty'] % \phy@requiremodule{common} % The `tightbraces' bool option, true or false. \phy@define@key{ab}{tightbraces}[true]{\def\@phy@abtight{#1}} @@ -67,15 +67,16 @@ \expandafter\def\csname phy@del\string\biggg\endcsname#1#2#3{\bigggl#1#3\bigggr#2} \expandafter\def\csname phy@del\string\Biggg\endcsname#1#2#3{\Bigggl#1#3\Bigggr#2} % \phy@AB@gb(a|b|..): gobble (a|b|..) arguments in the middle. -\def\phy@AB@gba#1#2#3{#1#3} -% In next two lines, #5 or #6 may contain more than one token, so they're grouped. \def\phy@AB@gbc#1#2#3#4#5{#1{#5}} -\def\phy@AB@gbd#1#2#3#4#5#6{#1{#6}} % \phy@d@lx (phy_del_x): the internal defination of \ab. % #1: `mb', according to \phy@AB@gen; #2: `ab'; #3: star or big or left delimiter. -\def\phy@d@lx#1#2#3{\ifcsname phy@del\string#3\endcsname - \phy@AB@gbd{\csname phy@d@lx#1\endcsname#3}% #3 is star or biggg, then get the next argument. - \else\phy@AB@gba{\csname phy@d@lx#2\endcsname#3}\fi}% #3 is delimiter, the braces are automatic. +\def\phy@d@lx#1#2#3{% + \ifcsname phy@del\string#3\endcsname% + \def\reserved@a{#1}% #3 is star or biggg, then get the next argument. + \else% + \def\reserved@a{#2}% #3 is delimiter, the braces are automatic. + \fi% + \csname phy@d@lx\reserved@a\endcsname#3} % The first two arguments of \phy@d@lx need to be generated by the following two commands. \def\phy@d@l@genxm#1{% generate arguments like `mb' \expandafter\def\csname phy@d@lx#1\endcsname##1##2{% diff --git a/macros/latex/contrib/physics2/tex/phy-bm-um.legacy.sty b/macros/latex/contrib/physics2/tex/phy-bm-um.legacy.sty index c97b925deb..36ffe206a6 100644 --- a/macros/latex/contrib/physics2/tex/phy-bm-um.legacy.sty +++ b/macros/latex/contrib/physics2/tex/phy-bm-um.legacy.sty @@ -16,7 +16,7 @@ %% %% The Current Maintainer of this work is Zhang Tingxuan. %% -\ProvidesExplFile{phy-bm-um.legacy.sty}{2023/1/25}{} +\ProvidesExplFile{phy-bm-um.legacy.sty}{2023/01/25}{} {`bm-um.legacy' module of `physics2.sty'} \AtBeginDocument { diff --git a/macros/latex/contrib/physics2/tex/phy-braket.sty b/macros/latex/contrib/physics2/tex/phy-braket.sty index 29c2656726..a6e88c13cc 100644 --- a/macros/latex/contrib/physics2/tex/phy-braket.sty +++ b/macros/latex/contrib/physics2/tex/phy-braket.sty @@ -17,7 +17,7 @@ %% The Current Maintainer of this work is Zhang Tingxuan. %% \ProvidesFile{phy-braket.sty} - [2023/1/25 `braket' module of `physics2.sty'] + [2023/01/25 `braket' module of `physics2.sty'] % Here we need to get the definition of \phy@abopen and \phy@abclose. \phy@requiremodule{ab} \ifdefined\phy@abb@bkv diff --git a/macros/latex/contrib/physics2/tex/phy-common.sty b/macros/latex/contrib/physics2/tex/phy-common.sty index 1b0776a807..f20d258365 100644 --- a/macros/latex/contrib/physics2/tex/phy-common.sty +++ b/macros/latex/contrib/physics2/tex/phy-common.sty @@ -17,7 +17,7 @@ %% The Current Maintainer of this work is Zhang Tingxuan. %% \ProvidesFile{phy-common.sty} - [2023/1/25 `common' module of `physics2.sty'] + [2023/01/25 `common' module of `physics2.sty'] % Check if `unicode-math' loaded and (re)define the vert symbols. % The `\relax'es here are for \ifx to compare. \AtBeginDocument{\ifcsname symrm\endcsname diff --git a/macros/latex/contrib/physics2/tex/phy-diagmat.sty b/macros/latex/contrib/physics2/tex/phy-diagmat.sty index c917f797b7..e90c99d928 100644 --- a/macros/latex/contrib/physics2/tex/phy-diagmat.sty +++ b/macros/latex/contrib/physics2/tex/phy-diagmat.sty @@ -16,7 +16,7 @@ %% %% The Current Maintainer of this work is Zhang Tingxuan. %% -\ProvidesExplFile{phy-diagmat.sty}{2023/1/25}{} +\ProvidesExplFile{phy-diagmat.sty}{2023/01/25}{} {`diagmat' module of `physics2.sty'} \phy@requiremodule { explsetup } \RequirePackage { amsmath } diff --git a/macros/latex/contrib/physics2/tex/phy-doubleprod.sty b/macros/latex/contrib/physics2/tex/phy-doubleprod.sty index e8981b8aa7..1888b6e70a 100644 --- a/macros/latex/contrib/physics2/tex/phy-doubleprod.sty +++ b/macros/latex/contrib/physics2/tex/phy-doubleprod.sty @@ -17,7 +17,7 @@ %% The Current Maintainer of this work is Zhang Tingxuan. %% \ProvidesFile{phy-doubleprod.sty} - [2023/1/25 `doubleprod' (double binary) module of `physics2.sty'] + [2023/01/25 `doubleprod' (double binary) module of `physics2.sty'] % The options, true or false. \phy@define@key{doubleprod}{crosssymbol}{\def\@phy@dbl@c{#1}} \phy@define@key{doubleprod}{dotsymbol}{\def\@phy@dbl@d{#1}} diff --git a/macros/latex/contrib/physics2/tex/phy-explsetup.sty b/macros/latex/contrib/physics2/tex/phy-explsetup.sty index e4aa63c752..a861201f9a 100644 --- a/macros/latex/contrib/physics2/tex/phy-explsetup.sty +++ b/macros/latex/contrib/physics2/tex/phy-explsetup.sty @@ -16,7 +16,7 @@ %% %% The Current Maintainer of this work is Zhang Tingxuan. %% -\ProvidesExplFile{phy-explsetup.sty}{2023/1/25}{} +\ProvidesExplFile{phy-explsetup.sty}{2023/01/25}{} {`explsetup' module of `physics2.sty'} % temporary variables \int_new:N \l__phy_tmpa_int diff --git a/macros/latex/contrib/physics2/tex/phy-nabla.legacy.sty b/macros/latex/contrib/physics2/tex/phy-nabla.legacy.sty index d5d225afca..04d75d88fd 100644 --- a/macros/latex/contrib/physics2/tex/phy-nabla.legacy.sty +++ b/macros/latex/contrib/physics2/tex/phy-nabla.legacy.sty @@ -17,7 +17,7 @@ %% The Current Maintainer of this work is Zhang Tingxuan. %% \ProvidesFile{phy-nabla.legacy.sty} - [2023/1/25 `nabla.legacy' (autobraces) module of `physics2.sty'] + [2023/01/25 `nabla.legacy' (autobraces) module of `physics2.sty'] \phy@requiremodule{ab} % This package required `fixdif' package version 2.x. \RequirePackage{fixdif}[2023/01/31] diff --git a/macros/latex/contrib/physics2/tex/phy-op.legacy.sty b/macros/latex/contrib/physics2/tex/phy-op.legacy.sty index 6125f370e3..ec7bd359d4 100644 --- a/macros/latex/contrib/physics2/tex/phy-op.legacy.sty +++ b/macros/latex/contrib/physics2/tex/phy-op.legacy.sty @@ -17,7 +17,7 @@ %% The Current Maintainer of this work is Zhang Tingxuan. %% \ProvidesFile{phy-op.legacy.sty} - [2023/1/25 `op.legacy' module of `physics2.sty'] + [2023/01/25 `op.legacy' module of `physics2.sty'] \phy@define@key{op.lega}{ReIm}[true]{\def\phy@reserveda{#1}} % The keys for \PV and \pv \phy@define@key{op.lega}{PV}{\def\@phy@oplega@PV{#1}} diff --git a/macros/latex/contrib/physics2/tex/phy-qtext.legacy.sty b/macros/latex/contrib/physics2/tex/phy-qtext.legacy.sty index a6a3162fca..6ac0d250b0 100644 --- a/macros/latex/contrib/physics2/tex/phy-qtext.legacy.sty +++ b/macros/latex/contrib/physics2/tex/phy-qtext.legacy.sty @@ -17,7 +17,7 @@ %% The Current Maintainer of this work is Zhang Tingxuan. %% \ProvidesFile{phy-qtext.legacy.sty} - [2023/1/25 `qtext.legacy' module of `physics2.sty'] + [2023/01/25 `qtext.legacy' module of `physics2.sty'] \RequirePackage{amstext} \def\phy@qtext@#1#2{#1\text{#2}\quad} \DeclareRobustCommand\qqtext{\@ifstar{\phy@qtext@{}}{\phy@qtext@\quad}} diff --git a/macros/latex/contrib/physics2/tex/phy-xmat.sty b/macros/latex/contrib/physics2/tex/phy-xmat.sty index 7a0b2d33d3..9e7058b062 100644 --- a/macros/latex/contrib/physics2/tex/phy-xmat.sty +++ b/macros/latex/contrib/physics2/tex/phy-xmat.sty @@ -16,7 +16,7 @@ %% %% The Current Maintainer of this work is Zhang Tingxuan. %% -\ProvidesExplFile{phy-xmat.sty}{2023/1/25}{} +\ProvidesExplFile{phy-xmat.sty}{2023/01/25}{} {`xmat' module of `physics2.sty'} \phy@requiremodule { explsetup } \RequirePackage { amsmath } |