%% %% This is file `phy-op.legacy.sty', %% the `op.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-op.legacy.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}} \phy@define@key{op.lega}{pv}{\def\@phy@oplega@pv{#1}} \phy@setkeys{op.lega}{PV=\mathcal{P},pv={p.v.},ReIm=true} \phy@processkeyopt{ab} \DeclareRobustCommand\asin{\mathop{\operator@font asin}\nolimits} \DeclareRobustCommand\acos{\mathop{\operator@font acos}\nolimits} \DeclareRobustCommand\atan{\mathop{\operator@font atan}\nolimits} \DeclareRobustCommand\acsc{\mathop{\operator@font acsc}\nolimits} \DeclareRobustCommand\asec{\mathop{\operator@font asec}\nolimits} \DeclareRobustCommand\acot{\mathop{\operator@font acot}\nolimits} \DeclareRobustCommand\Tr{\mathop{\operator@font Tr}\nolimits} \DeclareRobustCommand\tr{\mathop{\operator@font tr}\nolimits} \DeclareRobustCommand\rank{\mathop{\operator@font rank}\nolimits} \DeclareRobustCommand\erf{\mathop{\operator@font erf}\nolimits} \DeclareRobustCommand\Res{\mathop{\operator@font Res}\nolimits} \DeclareRobustCommand\res{\mathop{\operator@font res}\nolimits} \DeclareRobustCommand\PV{\mathord{\@phy@oplega@PV}} \DeclareRobustCommand\pv{\mathop{\operator@font\@phy@oplega@pv{}}\nolimits} % \Re and \Im, restore the former comands as \Resymbol and \Imsymbol \ifx\phy@reserveda\phy@true \AtBeginDocument{% \let\Resymbol\Re% \let\Imsymbol\Im% \DeclareRobustCommand\Re{\mathop{\operator@font Re}\nolimits}% \DeclareRobustCommand\Im{\mathop{\operator@font Im}\nolimits}% } \fi \endinput %% End of file `phy-op.legacy.sty'.