summaryrefslogtreecommitdiff
path: root/fonts/pxtxalfa/tex/latex/pxtxalfa/pxtx-frak.sty
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/pxtxalfa/tex/latex/pxtxalfa/pxtx-frak.sty')
-rw-r--r--fonts/pxtxalfa/tex/latex/pxtxalfa/pxtx-frak.sty25
1 files changed, 16 insertions, 9 deletions
diff --git a/fonts/pxtxalfa/tex/latex/pxtxalfa/pxtx-frak.sty b/fonts/pxtxalfa/tex/latex/pxtxalfa/pxtx-frak.sty
index a9bdecedf4..5adeefec65 100644
--- a/fonts/pxtxalfa/tex/latex/pxtxalfa/pxtx-frak.sty
+++ b/fonts/pxtxalfa/tex/latex/pxtxalfa/pxtx-frak.sty
@@ -1,11 +1,18 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{pxtx-frak}[2011/08/16 v1 U/tx-frak]
+\ProvidesPackage{pxtx-frak}[2021/10/21 v2 OT1/tx-frak]
\RequirePackage{xkeyval}%
-\define@key{pxtx-frak.sty}{scaled}[1.0]{%
-\expandafter\def\csname pxtx-frak@scale\endcsname {#1}}%
-\ExecuteOptionsX<pxtx-frak.sty>{scaled}%
-\ProcessOptionsX<pxtx-frak.sty>\relax%
-\DeclareMathAlphabet{\mathfrak}{U}{tx-frak}{m}{n}
-\SetMathAlphabet{\mathfrak}{bold}{U}{tx-frak}{b}{n}
-\DeclareMathAlphabet{\mathbfrak} {U}{tx-frak}{b}{n}
-\endinput
+\newcommand*{\pxtxfrak@scale}{1}
+\DeclareOptionX{scale}{\renewcommand*{\pxtxfrak@scale}{#1}}
+\DeclareOptionX{scaled}{\renewcommand*{\pxtxfrak@scale}{#1}}
+\ExecuteOptionsX{scale}%
+\ProcessOptionsX\relax%
+
+\DeclareSymbolFont{TXFR}{OT1}{tx-frak}{m}{n}
+\SetSymbolFont{TXFR}{bold}{OT1}{tx-frak}{b}{n}
+\DeclareFontSubstitution{OT1}{tx-frak}{m}{n}
+\DeclareSymbolFontAlphabet{\mathfrak}{TXFR}
+\DeclareMathAlphabet{\mathbfrak}{OT1}{TXFR}{b}{n}
+
+\DeclareMathSymbol{\frakdotlessi}{\mathord}{TXFR}{16}
+\DeclareMathSymbol{\frakdotlessj}{\mathord}{TXFR}{17}
+\endinput \ No newline at end of file