summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/dsserif/dsserif.sty90
1 files changed, 67 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/dsserif/dsserif.sty b/Master/texmf-dist/tex/latex/dsserif/dsserif.sty
index 69938a9c299..24b57b4519f 100644
--- a/Master/texmf-dist/tex/latex/dsserif/dsserif.sty
+++ b/Master/texmf-dist/tex/latex/dsserif/dsserif.sty
@@ -1,38 +1,82 @@
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.02}
-\def\filedate{2021/10/23}
+\def\fileversion{1.03}
+\def\filedate{2021/10/28}
\ProvidesPackage{dsserif}[\filedate\space v\fileversion\space U/dsserif]
%\@ifundefined{hexnumber@}{\input{binhex}}{}
\RequirePackage{xkeyval}%
\newcommand*{\DSS@scale}{1}
+\newcommand*{\DSS@m}{m}
+\newif\ifDSS@sym
\DeclareOptionX{scale}{\renewcommand*{\DSS@scale}{#1}}
\DeclareOptionX{scaled}{\renewcommand*{\DSS@scale}{#1}}
+\DeclareOptionX{bfbb}{\renewcommand*{\DSS@m}{b}}
+\DeclareOptionX{bbsymbols}{\DSS@symtrue}
+\DeclareOptionX{symbols}{\DSS@symtrue}
\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}
-\let\mathbbb\relax
-\DeclareMathAlphabet{\mathbbb}{U}{DSSerif}{b}{n}
-\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
+\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