diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/dsserif/tex |
Initial commit
Diffstat (limited to 'fonts/dsserif/tex')
-rw-r--r-- | fonts/dsserif/tex/dsserif.sty | 21 | ||||
-rw-r--r-- | fonts/dsserif/tex/udsserif.fd | 25 |
2 files changed, 46 insertions, 0 deletions
diff --git a/fonts/dsserif/tex/dsserif.sty b/fonts/dsserif/tex/dsserif.sty new file mode 100644 index 0000000000..3d371f8344 --- /dev/null +++ b/fonts/dsserif/tex/dsserif.sty @@ -0,0 +1,21 @@ +\NeedsTeXFormat{LaTeX2e} +\def\fileversion{1.0} +\def\filedate{2018/05/01} +\ProvidesPackage{DSSerif}[\filedate\space v\fileversion\space U/DSSerif] + +\RequirePackage{xkeyval}% +\define@key{DSSerif.sty}{scaled}[1.0]{% +\expandafter\def\csname DSS@scale\endcsname {#1}}% +\ExecuteOptionsX<DSSerif.sty>{scaled}% +\ProcessOptionsX<DSSerif.sty>\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} +\endinput diff --git a/fonts/dsserif/tex/udsserif.fd b/fonts/dsserif/tex/udsserif.fd new file mode 100644 index 0000000000..160878d068 --- /dev/null +++ b/fonts/dsserif/tex/udsserif.fd @@ -0,0 +1,25 @@ +%Filename: udsserif.fd +%Created by: tex DSSerif-drv +%Created using fontinst v1.933 + +%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\ProvidesFile{udsserif.fd} + [2018/04/30 Fontinst v1.933 font definitions for U/DSSerif.] + +\expandafter\ifx\csname DSS@scale\endcsname\relax +\let\DSS@@scale\@empty\else\edef\DSS@@scale{s*[\csname DSS@scale\endcsname]}\fi + +\DeclareFontFamily{U}{DSSerif}{\skewchar \font =45} + +\DeclareFontShape{U}{DSSerif}{m}{n}{ + <-> \DSS@@scale DSSerif +}{} + +\DeclareFontShape{U}{DSSerif}{b}{n}{ + <-> \DSS@@scale DSSerif-Bold +}{} + +\DeclareFontShape{U}{DSSerif}{bx}{n}{<->ssub * DSSerif/b/n}{} + +\endinput |