summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-10-29 21:31:15 +0000
committerKarl Berry <karl@freefriends.org>2021-10-29 21:31:15 +0000
commitbb6fb9bc36cd7c1636aa9ad986a5535cc9e9a6c4 (patch)
tree8896debdbd7428e393d6ca0b2f679cfd813c60bb /Master/texmf-dist
parentb34beddcc902ab9bd6b0e178e0a085d0139563df (diff)
dsserif (29oct21)
git-svn-id: svn://tug.org/texlive/trunk@60888 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/fonts/dsserif/README6
-rw-r--r--Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.pdfbin257248 -> 262228 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.tex22
-rw-r--r--Master/texmf-dist/tex/latex/dsserif/dsserif.sty90
4 files changed, 87 insertions, 31 deletions
diff --git a/Master/texmf-dist/doc/fonts/dsserif/README b/Master/texmf-dist/doc/fonts/dsserif/README
index ed00d11ac73..9181661d7d3 100644
--- a/Master/texmf-dist/doc/fonts/dsserif/README
+++ b/Master/texmf-dist/doc/fonts/dsserif/README
@@ -19,7 +19,11 @@ The font files and the LaTeX support files are
Files provided "as is", with no warranties.
-Current version: 1.02 2021-10-23
+Current version: 1.03 2021-10-28
+
+Changes in version 1.03
+1. Added options symbols (load as symbol font, not as MathAlphabet), bfbb (force \mathbb to refer to bold weight.)
+2. Added math macros for Greek letters if loading as symbol font, and text macros for those characters if in MathAlphabet mode.
Changes in version 1.02
1. Added Greek uppercase letters (regular weight only.)
diff --git a/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.pdf b/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.pdf
index bf892869b6c..99710c6f35a 100644
--- a/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.pdf
+++ b/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.tex b/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.tex
index fbf021e6810..1a509029407 100644
--- a/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.tex
+++ b/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.tex
@@ -17,7 +17,7 @@
% option vvarbb gives you stix blackboard bold
\useosf % use oldstyle figures except in math
\usepackage{trace}
-\usepackage{dsserif}
+\usepackage[symbols]{dsserif}
\usepackage{bm}
%SetFonts
\title{The DSSerif Package}
@@ -26,10 +26,17 @@
\begin{document}
\maketitle
-DSSerif is short for Double Struck Serif, and, while based on the Courier clone of URW++ (version 2), though much distorted, its double striking and weights are very much in the style of the STIX double struck fonts. The main difference between the two is that STIX is sans serif, while DSSerif is not. The only package option is {\tt scaled}, which may be used to scale the size, like
+DSSerif is short for Double Struck Serif, and, while based on the Courier clone of URW++ (version 2), though much distorted, its double striking and weights are very much in the style of the STIX double struck fonts. The main difference between the two is that STIX is sans serif, while DSSerif is not. The package has the following options:
+\begin{itemize}
+\item
+{\tt scaled} (or {\tt scale}) controls the relative size, as in
\begin{verbatim}
\usepackage[scaled=1.03]{dsserif}
\end{verbatim}
+\item
+{\tt bbsymbols} (or {\tt symbols}) controls whether the font is set up as a symbol font. (The default is to set it up as a Math Alphabet, which makes more efficient use of the LaTeX limitation to just 16 math families.)
+\item {\tt bfbb} forces the package to not load the regular weight, but use \verb|\mathbb| as if bold were the regular weight.
+\end{itemize}
The available characters are:\\
@@ -56,10 +63,11 @@ If you load the {\tt dsserif} package using
\usepackage{dsserif}
\end{verbatim}
then
-most of these are accessed in the usual ways using \verb|\mathbb|. E.g., \verb|\mathbb{0}|, \verb|\mathbb{A}| and \verb|\mathbb{z}| produce $\mathbb{0}$, $\mathbb{A}$ and $\mathbb{z}$ unless \verb|\boldmath| was previously specified, and {\boldmath $\mathbb{0}$, $\mathbb{A}$ and $\mathbb{z}$} otherwise. Finally, the macro \verb|\mathbbb| may be used without \verb|\boldmath| or \verb|\bm| to render a bold symbol, e.g., \verb|\mathbbb{A}| gives $\mathbbb{A}$.
+most of these are accessed in the usual ways using \verb|\mathbb|. E.g., \verb|\mathbb{0}|, \verb|\mathbb{A}| and \verb|\mathbb{z}| produce $\mathbb{0}$, $\mathbb{A}$ and $\mathbb{z}$ unless \verb|\boldmath| was previously specified, and {\boldmath $\mathbb{0}$, $\mathbb{A}$ and $\mathbb{z}$} otherwise. Finally, the macro \verb|\mathbfbb| may be used without \verb|\boldmath| or \verb|\bm| to render a bold symbol, e.g., \verb|\mathbfbb{A}| gives $\mathbfbb{A}$.
-\textbf{Macros for non-alphabetic characters}\\
-The dotless {\tt i} and {\tt j} require the special macros \verb|\bbdotlessi|, \verb|\bbdotlessj| (or \verb|\imathbb|, \verb|\jmathbb|.) If you load the package {\tt bm}, then the macro \verb|\bm{}| will in all cases give you the bold version. E.g., \verb|\bm{\imathbb}| gives $\bm{\imathbb}$, as expected. There are also some Greek letters available. Currently, these are only in regular weight and are pictured above,
+\textbf{Macros for non-alphanumeric characters}\\
+\textbf{For the following paragraph, you need to use the option {\tt bfbb}.}\\
+The dotless {\tt i} and {\tt j} require the special macros \verb|\bbdotlessi|, \verb|\bbdotlessj| (or \verb|\imathbb|, \verb|\jmathbb|.) If you load the package {\tt bm}, then the macro \verb|\bm{}| will in all cases give you the bold version. E.g., \verb|\bm{\bbdotlessi}| gives $\bm{\bbdotlessi}$, as expected. There are also some Greek letters available. Currently, these are only in regular weight and are pictured above,
having names
\begin{verbatim}
\bbGamma
@@ -77,9 +85,9 @@ I like to use $\bbdotlessi$ and $\bbdotlessj$ (or their bold versions) for unit
The {\tt DSSerif} glyphs may also be accessed using {\tt mathalpha}:
\begin{verbatim}
-\usepackage[bb=dsserif]{mathalpha}
+\usepackage[bb=dsserif]{mathalpha} % there are also options bfbb and bbsymbols
\end{verbatim}
-(added after loading other math fonts) will redefine \verb|\mathbb| and \verb|\mathbbb| to point to the {\tt DSSerif} versions. Use of either {\tt dsserif} or {\tt mathalpha} will entail using at least one of your precious math groups. You may find it sufficient to simply use the symbols as text. E.g.,
+(added after loading other math fonts) will redefine \verb|\mathbb| and \verb|\mathbfbb| to point to the {\tt DSSerif} versions. Use of either {\tt dsserif} or {\tt mathalpha} will entail using at least one of your precious math groups. You may find it sufficient to simply use the symbols as text. E.g.,
\begin{verbatim}
$x\in \text{{\usefont{U}{DSSerif}{m}{n}C}}^n$
\end{verbatim}
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