summaryrefslogtreecommitdiff
path: root/fonts/dsserif/tex/dsserif.sty
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/dsserif/tex/dsserif.sty')
-rw-r--r--fonts/dsserif/tex/dsserif.sty39
1 files changed, 28 insertions, 11 deletions
diff --git a/fonts/dsserif/tex/dsserif.sty b/fonts/dsserif/tex/dsserif.sty
index 3d371f8344..69938a9c29 100644
--- a/fonts/dsserif/tex/dsserif.sty
+++ b/fonts/dsserif/tex/dsserif.sty
@@ -1,21 +1,38 @@
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.0}
-\def\filedate{2018/05/01}
-\ProvidesPackage{DSSerif}[\filedate\space v\fileversion\space U/DSSerif]
+\def\fileversion{1.02}
+\def\filedate{2021/10/23}
+\ProvidesPackage{dsserif}[\filedate\space v\fileversion\space U/dsserif]
+%\@ifundefined{hexnumber@}{\input{binhex}}{}
\RequirePackage{xkeyval}%
-\define@key{DSSerif.sty}{scaled}[1.0]{%
-\expandafter\def\csname DSS@scale\endcsname {#1}}%
-\ExecuteOptionsX<DSSerif.sty>{scaled}%
-\ProcessOptionsX<DSSerif.sty>\relax%
+\newcommand*{\DSS@scale}{1}
+\DeclareOptionX{scale}{\renewcommand*{\DSS@scale}{#1}}
+\DeclareOptionX{scaled}{\renewcommand*{\DSS@scale}{#1}}
+\ExecuteOptionsX{scale}%
+\ProcessOptionsX\relax%
+
+\let\mathbb\relax
\DeclareSymbolFont{DSSerif}{U}{DSSerif}{m}{n}
\SetSymbolFont{DSSerif}{bold}{U}{DSSerif}{b}{n}
\DeclareFontSubstitution{U}{DSSerif}{m}{n}
\DeclareSymbolFontAlphabet{\mathbb}{DSSerif}
-%\DeclareMathAlphabet{\mathbb}{U}{DSSerif}{m}{n}
-%\SetMathAlphabet{\mathbb}{bold}{U}{DSSerif}{b}{n}
\let\mathbbb\relax
\DeclareMathAlphabet{\mathbbb}{U}{DSSerif}{b}{n}
-\DeclareMathSymbol{\imathbb}{\mathord}{DSSerif}{17}
-\DeclareMathSymbol{\jmathbb}{\mathord}{DSSerif}{18}
+\DeclareMathSymbol{\bbGamma}{\mathord}{DSSerif}{0}
+\DeclareMathSymbol{\bbDelta}{\mathord}{DSSerif}{1}
+\DeclareMathSymbol{\bbTheta}{\mathord}{DSSerif}{2}
+\DeclareMathSymbol{\bbLambda}{\mathord}{DSSerif}{3}
+%\DeclareMathSymbol{\bbXi}{\mathord}{DSSerif}{4}
+\DeclareMathSymbol{\bbPi}{\mathord}{DSSerif}{5}
+\DeclareMathSymbol{\bbSigma}{\mathord}{DSSerif}{6}
+%\DeclareMathSymbol{\bbUpsilon}{\mathord}{DSSerif}{7}
+\DeclareMathSymbol{\bbPhi}{\mathord}{DSSerif}{8}
+\DeclareMathSymbol{\bbPsi}{\mathord}{DSSerif}{9}
+\DeclareMathSymbol{\bbOmega}{\mathord}{DSSerif}{10}
+\DeclareMathSymbol{\bbdotlessi}{\mathord}{DSSerif}{16}
+\DeclareMathSymbol{\bbdotlessj}{\mathord}{DSSerif}{17}
+\let\imathbb\bbdotlessi
+\let\jmathbb\bbdotlessj
\endinput
+
+