diff options
Diffstat (limited to 'fonts/pxtxalfa/tex/latex/pxtxalfa/px-ds.sty')
-rw-r--r-- | fonts/pxtxalfa/tex/latex/pxtxalfa/px-ds.sty | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/fonts/pxtxalfa/tex/latex/pxtxalfa/px-ds.sty b/fonts/pxtxalfa/tex/latex/pxtxalfa/px-ds.sty index 4c37b81897..d3d48a4529 100644 --- a/fonts/pxtxalfa/tex/latex/pxtxalfa/px-ds.sty +++ b/fonts/pxtxalfa/tex/latex/pxtxalfa/px-ds.sty @@ -1,10 +1,12 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{px-ds}[2011/08/16 v1 U/px-ds] +\ProvidesPackage{px-ds}[2021/10/21 v2 U/px-ds] \RequirePackage{xkeyval}% -\define@key{px-ds.sty}{scaled}[1.0]{% -\expandafter\def\csname px-ds@scale\endcsname {#1}}% -\ExecuteOptionsX<px-ds.sty>{scaled}% -\ProcessOptionsX<px-ds.sty>\relax% +\newcommand*{\pxds@scale}{1} +\DeclareOptionX{scale}{\renewcommand*{\pxds@scale}{#1}} +\DeclareOptionX{scaled}{\renewcommand*{\pxds@scale}{#1}} +\ExecuteOptionsX{scale}% +\ProcessOptionsX\relax% + \DeclareMathAlphabet{\mathbb}{U}{px-ds}{m}{n} \SetMathAlphabet{\mathbb}{bold}{U}{px-ds}{b}{n} \DeclareMathAlphabet{\mathbbb} {U}{px-ds}{b}{n} |