summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/physics2/tex/phy-ab.legacy.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/physics2/tex/phy-ab.legacy.sty')
-rw-r--r--macros/latex/contrib/physics2/tex/phy-ab.legacy.sty33
1 files changed, 33 insertions, 0 deletions
diff --git a/macros/latex/contrib/physics2/tex/phy-ab.legacy.sty b/macros/latex/contrib/physics2/tex/phy-ab.legacy.sty
new file mode 100644
index 0000000000..018f221997
--- /dev/null
+++ b/macros/latex/contrib/physics2/tex/phy-ab.legacy.sty
@@ -0,0 +1,33 @@
+%%
+%% 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/1/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}}
+% The default values to keys in this module.
+\phy@setkeys{ab.legacy}{order}
+\phy@processkeyopt{ab.legacy}
+% The braced operators.
+\DeclareRobustCommand\abs{\phy@d@ly\vert\vert}
+\DeclareRobustCommand\norm{\phy@d@ly\Vert\Vert}
+\DeclareRobustCommand\order{\phy@ab@ordersym\phy@d@ly()}
+\DeclareRobustCommand\eval[1][.]{\phy@d@ly#1|}
+\endinput
+%% End of file `phy-ab.legacy.sty'.