summaryrefslogtreecommitdiff
path: root/fonts/pxtxalfa/tex/latex/pxtxalfa/tx-of.sty
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/pxtxalfa/tex/latex/pxtxalfa/tx-of.sty')
-rw-r--r--fonts/pxtxalfa/tex/latex/pxtxalfa/tx-of.sty12
1 files changed, 7 insertions, 5 deletions
diff --git a/fonts/pxtxalfa/tex/latex/pxtxalfa/tx-of.sty b/fonts/pxtxalfa/tex/latex/pxtxalfa/tx-of.sty
index 60af67548c..d6d7993ba9 100644
--- a/fonts/pxtxalfa/tex/latex/pxtxalfa/tx-of.sty
+++ b/fonts/pxtxalfa/tex/latex/pxtxalfa/tx-of.sty
@@ -1,10 +1,12 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tx-of}[2011/08/16 v1 U/tx-of]
+\ProvidesPackage{tx-of}[2021/10/21 v2 U/tx-of]
\RequirePackage{xkeyval}%
-\define@key{tx-of.sty}{scaled}[1.0]{%
-\expandafter\def\csname tx-of@scale\endcsname {#1}}%
-\ExecuteOptionsX<tx-of.sty>{scaled}%
-\ProcessOptionsX<tx-of.sty>\relax%
+\newcommand*{\txof@scale}{1}
+\DeclareOptionX{scale}{\renewcommand*{\txof@scale}{#1}}
+\DeclareOptionX{scaled}{\renewcommand*{\txof@scale}{#1}}
+\ExecuteOptionsX{scale}%
+\ProcessOptionsX\relax%
+
\DeclareMathAlphabet{\mathbb}{U}{tx-of}{m}{n}
\SetMathAlphabet{\mathbb}{bold}{U}{tx-of}{b}{n}
\DeclareMathAlphabet{\mathbbb} {U}{tx-of}{b}{n}