\NeedsTeXFormat{LaTeX2e}
\def\fileversion{1.031}
\def\filedate{2021/10/29}
\ProvidesPackage{dsserif}[\filedate\space v\fileversion\space U/dsserif]
%\@ifundefined{hexnumber@}{\input{binhex}}{}

\RequirePackage{xkeyval}%
\newcommand*{\DSS@scale}{s*[1]} 
\newcommand*{\DSS@m}{m} 
\newif\ifDSS@sym
\DeclareOptionX{scale}{\renewcommand*{\DSS@scale}{s*[#1] }}
\DeclareOptionX{scaled}{\renewcommand*{\DSS@scale}{s*[#1] }}
\DeclareOptionX{bfbb}{\renewcommand*{\DSS@m}{b}}
\DeclareOptionX{bbsymbols}{\DSS@symtrue}
\DeclareOptionX{symbols}{\DSS@symtrue}
\ExecuteOptionsX{scale}%
\ProcessOptionsX\relax%

\let\mathbb\relax
\DeclareFontFamily{U}{DSSerif}{\skewchar \font =45}% openface
\DeclareFontShape{U}{DSSerif}{m}{n}{
   <-> \DSS@scale  DSSerif}{}
\DeclareFontShape{U}{DSSerif}{b}{n}{
   <-> \DSS@scale  DSSerif-Bold}{}
\DeclareFontSubstitution{U}{DSSerif}{\DSS@m}{n}
\ifDSS@sym
  \DeclareSymbolFont{DSSerifS}{U}{DSSerif}{\DSS@m}{n}
  \DeclareSymbolFontAlphabet{\mathbb}{DSSerifS}
  \if b\DSS@m\else%
    \SetSymbolFont{DSSerifS}{bold}{U}{DSSerif}{b}{n}
    \DeclareMathAlphabet{\mathbfbb}{U}{DSSerif}{b}{n}%\DeclareFontSubstitution{U}{DSSerifS}{m}{n}
  \fi
  \DeclareMathSymbol{\bbGamma}{\mathord}{DSSerifS}{0}
  \DeclareMathSymbol{\bbDelta}{\mathord}{DSSerifS}{1}
  \DeclareMathSymbol{\bbTheta}{\mathord}{DSSerifS}{2}
  \DeclareMathSymbol{\bbLambda}{\mathord}{DSSerifS}{3}
  %\DeclareMathSymbol{\bbXi}{\mathord}{DSSerif}{4}
  \DeclareMathSymbol{\bbPi}{\mathord}{DSSerifS}{5}
  \DeclareMathSymbol{\bbSigma}{\mathord}{DSSerifS}{6}
  %\DeclareMathSymbol{\bbUpsilon}{\mathord}{DSSerif}{7}
  \DeclareMathSymbol{\bbPhi}{\mathord}{DSSerifS}{8}
  \DeclareMathSymbol{\bbPsi}{\mathord}{DSSerifS}{9}
  \DeclareMathSymbol{\bbOmega}{\mathord}{DSSerifS}{10}
  \DeclareMathSymbol{\bbdotlessi}{\mathord}{DSSerifS}{16}
  \DeclareMathSymbol{\bbdotlessj}{\mathord}{DSSerifS}{17}
  \let\imathbb\bbdotlessi
  \let\jmathbb\bbdotlessj
\else
  \DeclareMathAlphabet{\mathbb}{U}{DSSerif}{\DSS@m}{n}
  \if b\DSS@m\else%
    \SetMathAlphabet{\mathbb}{bold}{U}{DSSerif}{b}{n}
    \DeclareMathAlphabet{\mathbfbb} {U}{DSSerif}{b}{n}
    \let\mathbbb\mathbfbb
  \fi
  \newcommand*{\txtbbGamma}{{\usefont{U}{DSSerif}{m}{n}\char0 }}
  \newcommand*{\txtbbDelta}{{\usefont{U}{DSSerif}{m}{n}\char1 }}
  \newcommand*{\txtbbTheta}{{\usefont{U}{DSSerif}{m}{n}\char2 }}
  \newcommand*{\txtbbLambda}{{\usefont{U}{DSSerif}{m}{n}\char3 }}
  %\newcommand*{\txtbbXi}{{\usefont{U}{DSSerif}{m}{n}\char4 }}
  \newcommand*{\txtbbPi}{{\usefont{U}{DSSerif}{m}{n}\char5 }}
  \newcommand*{\txtbbSigma}{{\usefont{U}{DSSerif}{m}{n}\char6 }}
  %\newcommand*{\txtbbUpsilon}{{\usefont{U}{DSSerif}{m}{n}\char{DSSerif}{7 }}
  \newcommand*{\txtbbPhi}{{\usefont{U}{DSSerif}{m}{n}\char8 }}
  \newcommand*{\txtbbPsi}{{\usefont{U}{DSSerif}{m}{n}\char9 }}
  \newcommand*{\txtbbOmega}{{\usefont{U}{DSSerif}{m}{n}\char10 }}
  \newcommand*{\txtbbdotlessi}{{\usefont{U}{DSSerif}{m}{n}\char16 }}
  \newcommand*{\txtbbdotlessj}{{\usefont{U}{DSSerif}{m}{n}\char17 }}
%   \def\txtbbzero{{\usefont{U}{DSSerif}{m}{n}0}}
%   \def\txtbbone{{\usefont{U}{DSSerif}{m}{n}1}}
%   \def\txtbbtwo{{\usefont{U}{DSSerif}{m}{n}2}}
%    \def\txtbbthree{{\usefont{U}{DSSerif}{m}{n}3}}
%    \def\txtbbfour{{\usefont{U}{DSSerif}{m}{n}4}}
%    \def\txtbbfive{{\usefont{U}{DSSerif}{m}{n}5}}
%    \def\txtbbsix{{\usefont{U}{DSSerif}{m}{n}6}}
%    \def\txtbbseven{{\usefont{U}{DSSerif}{m}{n}7}}
%    \def\txtbbeight{{\usefont{U}{DSSerif}{m}{n}8}}
%    \def\txtbbnine{{\usefont{U}{DSSerif}{m}{n}9}}

\fi
\endinput


