texlive[60888] Master/texmf-dist: dsserif (29oct21)
commits+karl at tug.org
commits+karl at tug.org
Fri Oct 29 23:31:15 CEST 2021
Revision: 60888
http://tug.org/svn/texlive?view=revision&revision=60888
Author: karl
Date: 2021-10-29 23:31:15 +0200 (Fri, 29 Oct 2021)
Log Message:
-----------
dsserif (29oct21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/fonts/dsserif/README
trunk/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.pdf
trunk/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.tex
trunk/Master/texmf-dist/tex/latex/dsserif/dsserif.sty
Modified: trunk/Master/texmf-dist/doc/fonts/dsserif/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/dsserif/README 2021-10-29 05:33:47 UTC (rev 60887)
+++ trunk/Master/texmf-dist/doc/fonts/dsserif/README 2021-10-29 21:31:15 UTC (rev 60888)
@@ -19,8 +19,12 @@
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.)
2. Sty file changed to use preferred macro names, like \bbdotlessi and \bbdotlessj.
Modified: trunk/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.tex 2021-10-29 05:33:47 UTC (rev 60887)
+++ trunk/Master/texmf-dist/doc/fonts/dsserif/dsserif-doc.tex 2021-10-29 21:31:15 UTC (rev 60888)
@@ -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 @@
\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 @@
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}
Modified: trunk/Master/texmf-dist/tex/latex/dsserif/dsserif.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dsserif/dsserif.sty 2021-10-29 05:33:47 UTC (rev 60887)
+++ trunk/Master/texmf-dist/tex/latex/dsserif/dsserif.sty 2021-10-29 21:31:15 UTC (rev 60888)
@@ -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 at scale}{1}
+\newcommand*{\DSS at m}{m}
+\newif\ifDSS at sym
\DeclareOptionX{scale}{\renewcommand*{\DSS at scale}{#1}}
\DeclareOptionX{scaled}{\renewcommand*{\DSS at scale}{#1}}
+\DeclareOptionX{bfbb}{\renewcommand*{\DSS at m}{b}}
+\DeclareOptionX{bbsymbols}{\DSS at symtrue}
+\DeclareOptionX{symbols}{\DSS at 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 at scale DSSerif}{}
+\DeclareFontShape{U}{DSSerif}{b}{n}{
+ <-> \DSS at scale DSSerif-Bold}{}
+\DeclareFontSubstitution{U}{DSSerif}{\DSS at m}{n}
+\ifDSS at sym
+ \DeclareSymbolFont{DSSerifS}{U}{DSSerif}{\DSS at m}{n}
+ \DeclareSymbolFontAlphabet{\mathbb}{DSSerifS}
+ \if b\DSS at 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 at m}{n}
+ \if b\DSS at 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
More information about the tex-live-commits
mailing list.