summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/physics2/phy-ab.legacy.sty
blob: bbfa1f2b4a34d3f6f3663d79f62d1d19baa41f87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
%% 
%% This is file `phy-ab.legacy.sty',
%% the `ab.legacy' module of `physics2' package.
%% 
%% ******************************************************
%% * This work may be distributed and/or modified under *
%% * the conditions of the LaTeX Project Public License *
%% *                                                    *
%% *     http://www.latex-project.org/lppl.txt          *
%% *                                                    *
%% * either version 1.3c of this license or any later   *
%% * version.                                           *
%% ******************************************************
%% 
%% This work has the LPPL maintenance status `maintained'.
%% 
%% The Current Maintainer of this work is Zhang Tingxuan.
%% 
\ProvidesFile{phy-ab.legacy.sty}
  [2023/03/29 `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}}
% The default values to keys in this module.
\phy@setkeys{ab.legacy}{order}
\phy@processkeyopt{ab.legacy}
% The braced operators.
\phy@d@l@geny\abs\vert\vert
\phy@d@l@geny\norm\Vert\Vert
\DeclareDocumentCommand\order{som}{%
  \phy@ab@ordersym
  \IfBooleanTF{#1}%
    {(#3)}%
    {\IfValueTF{#2}%
      {\csname#2l\endcsname(#3\csname#2r\endcsname)}%
      {\phy@abopen(#3\phy@abclose)}%
    }%
}
\phy@d@l@geny\eval.\vert
\phy@d@l@geny\peval(\vert
\phy@d@l@geny\beval[\vert
\endinput
%% End of file `phy-ab.legacy.sty'.