summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-06-22 21:07:38 +0000
committerKarl Berry <karl@freefriends.org>2021-06-22 21:07:38 +0000
commitdeb2b67ec39e0fed53848b55b8c8fb58477df8f3 (patch)
tree2cc49f8703501754afa31d3cc892e37f2281a699 /Master/texmf-dist/tex
parent92291f51b83a8f778bc5e630ff7b521a3329b6c5 (diff)
sansmathfonts (22jun21)
git-svn-id: svn://tug.org/texlive/trunk@59673 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/sansmathfonts/omxcmssex.fd2
-rw-r--r--Master/texmf-dist/tex/latex/sansmathfonts/ot1cmsmf.fd8
-rw-r--r--Master/texmf-dist/tex/latex/sansmathfonts/ot1xcmss.fd8
-rw-r--r--Master/texmf-dist/tex/latex/sansmathfonts/sansmathfonts.sty64
-rw-r--r--Master/texmf-dist/tex/latex/sansmathfonts/t1xcmss.fd8
-rw-r--r--Master/texmf-dist/tex/latex/sansmathfonts/ucmsmf.fd8
-rw-r--r--Master/texmf-dist/tex/latex/sansmathfonts/uxcmss.fd8
7 files changed, 93 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/sansmathfonts/omxcmssex.fd b/Master/texmf-dist/tex/latex/sansmathfonts/omxcmssex.fd
index 434b6b27348..2df949dce1c 100644
--- a/Master/texmf-dist/tex/latex/sansmathfonts/omxcmssex.fd
+++ b/Master/texmf-dist/tex/latex/sansmathfonts/omxcmssex.fd
@@ -14,7 +14,7 @@
%%
%%
\ProvidesFile{omxcmssex.fd}
- [2019/06/10]
+ [2021/06/22]
\DeclareFontFamily{OMX}{cmssex}{}
\DeclareFontShape{OMX}{cmssex}{m}{n}{
<-7.5> cmssex7
diff --git a/Master/texmf-dist/tex/latex/sansmathfonts/ot1cmsmf.fd b/Master/texmf-dist/tex/latex/sansmathfonts/ot1cmsmf.fd
index 98f17cf6b26..ad57f77c0d2 100644
--- a/Master/texmf-dist/tex/latex/sansmathfonts/ot1cmsmf.fd
+++ b/Master/texmf-dist/tex/latex/sansmathfonts/ot1cmsmf.fd
@@ -14,7 +14,7 @@
%%
%%
\ProvidesFile{ot1cmsmf.fd}
- [2019/04/04]
+ [2021/06/22]
\DeclareFontFamily{OT1}{cmsmf}{\hyphenchar\font45 }
% Serifed I, Pi, Xi
\DeclareFontShape{OT1}{cmsmf}{m}{n}
@@ -78,6 +78,12 @@
{%
<->cmsmfxicsc10%
}{}
+\DeclareFontShape{OT1}{cmsmf}{b}{n}{<->sub*xcmss/bx/n}{}
+\DeclareFontShape{OT1}{cmsmf}{b}{it}{<->sub*xcmss/bx/it}{}
+\DeclareFontShape{OT1}{cmsmf}{b}{sl}{<->sub*xcmss/bx/sl}{}
+\DeclareFontShape{OT1}{cmsmf}{b}{sc}{<->sub*xcmss/bx/sc}{}
+\DeclareFontShape{OT1}{cmsmf}{b}{scsl}{<->sub*xcmss/bx/scsl}{}
+\DeclareFontShape{OT1}{cmsmf}{b}{scit}{<->sub*xcmss/bx/scit}{}
% Odd shapes
\DeclareFontShape{OT1}{cmsmf}{sbc}{n}
{%
diff --git a/Master/texmf-dist/tex/latex/sansmathfonts/ot1xcmss.fd b/Master/texmf-dist/tex/latex/sansmathfonts/ot1xcmss.fd
index 68ef66e78a8..38e3618d91c 100644
--- a/Master/texmf-dist/tex/latex/sansmathfonts/ot1xcmss.fd
+++ b/Master/texmf-dist/tex/latex/sansmathfonts/ot1xcmss.fd
@@ -13,7 +13,7 @@
%%
%%
\ProvidesFile{ot1xcmss.fd}
- [2019/04/04]
+ [2021/06/22]
\DeclareFontFamily{OT1}{xcmss}{\hyphenchar\font45 }
\DeclareFontShape{OT1}{xcmss}{m}{n}
{%
@@ -77,6 +77,12 @@
{%
<->cmssxicsc10%
}{}
+\DeclareFontShape{OT1}{xcmss}{b}{n}{<->sub*xcmss/bx/n}{}
+\DeclareFontShape{OT1}{xcmss}{b}{it}{<->sub*xcmss/bx/it}{}
+\DeclareFontShape{OT1}{xcmss}{b}{sl}{<->sub*xcmss/bx/sl}{}
+\DeclareFontShape{OT1}{xcmss}{b}{sc}{<->sub*xcmss/bx/sc}{}
+\DeclareFontShape{OT1}{xcmss}{b}{scsl}{<->sub*xcmss/bx/scsl}{}
+\DeclareFontShape{OT1}{xcmss}{b}{scit}{<->sub*xcmss/bx/scit}{}
% Odd shapes
\DeclareFontShape{OT1}{xcmss}{sbc}{n}
{%
diff --git a/Master/texmf-dist/tex/latex/sansmathfonts/sansmathfonts.sty b/Master/texmf-dist/tex/latex/sansmathfonts/sansmathfonts.sty
index bb47e5ff753..3c2dfd41b87 100644
--- a/Master/texmf-dist/tex/latex/sansmathfonts/sansmathfonts.sty
+++ b/Master/texmf-dist/tex/latex/sansmathfonts/sansmathfonts.sty
@@ -21,17 +21,46 @@
% the file `sansmathfonts.pdf' and its source code `sansmathfonts.tex'.
%
-\ProvidesPackage{sansmathfonts}[2013/03/22]
+\ProvidesPackage{sansmathfonts}[2021/06/22]
\newif \ifmath@sansmathfonts \math@sansmathfontstrue
+\newif \iftext@sansmathfonts \text@sansmathfontstrue
+\newif \ifI@sansmathfonts \I@sansmathfontsfalse
-\def\sfdefault@sansmathfonts{xcmss}
-
-\DeclareOption{notmath}{\math@sansmathfontsfalse}
-\DeclareOption{I}{\def\sfdefault@sansmathfonts{cmsmf}}
+\DeclareOption{notmath} {\math@sansmathfontsfalse}
+\DeclareOption{onlytext}{\math@sansmathfontsfalse}
+\DeclareOption{onlymath}{\text@sansmathfontsfalse}
+\DeclareOption{nottext} {\text@sansmathfontsfalse}
+\DeclareOption{I}{\I@sansmathfontstrue}
\ProcessOptions
+\def\OTOne@sansmathfonts{OT1}
+\def\TOne@sansmathfonts{T1}
+\def\U@sansmathfonts{U}
+
+\ifx\OTOne@sansmathfonts \f@encoding \else
+\ifx\U@sansmathfonts \f@encoding \else
+ \I@sansmathfontsfalse
+ \PackageWarning{sansmathfonts}
+ {The [I] package option is only compatible with the OT1 and U
+ font encodings. I will ignore the [I] package option.}
+ \ifx\TOne@sansmathfonts \f@encoding \else
+ \text@sansmathfontsfalse
+ \PackageWarning{sansmathfonts}
+ {Sans serif text fonts are only provided for OT1, T1, and U font
+ encodings. I will not change the sans serif text font.}
+ \fi
+\fi\fi
+
+\let\sfdefault@sansmathfonts\sfdefault
+\iftext@sansmathfonts
+ \def\sfdefault@sansmathfonts{xcmss}
+ \ifI@sansmathfonts
+ \def\sfdefault@sansmathfonts{cmsmf}%
+ \fi
+\fi
+
\ifmath@sansmathfonts
% Turn off Beamer math replacements
@@ -61,6 +90,27 @@
\@ifpackageloaded{esint}{%
\DeclareSymbolFont{largesymbolsA}{U}{ssesint}{m}{n}
}{}
+ %
+ \ifx\OTOne@sansmathfonts \f@encoding \else
+ \ifx\U@sansmathfonts \f@encoding \else
+ \ifI@sansmathfonts
+ \PackageError{sansmathfonts}
+ {The [I] package option is only compatible with
+ the OT1 and U font encodings.}
+ {Please do not use the [I] option for the sansmathfonts
+ package, or select your font encoding before you load
+ the sansmathfonts package.}
+ \fi
+ \ifx\TOne@sansmathfonts \f@encoding \else
+ \iftext@sansmathfonts
+ \PackageError{sansmathfonts}
+ {Sans serif text fonts are only
+ provided for OT1, T1, and U font encodings.}
+ {Please use the [onlymath] option for the sansmathfonts
+ package, or select your font encoding before you
+ load the sansmathfonts package.}
+ \fi \fi
+ \fi \fi
}
% beamer currently sets
@@ -77,7 +127,6 @@
\DeclareSymbolFontAlphabet{\mathnormal}{letters}
\DeclareSymbolFontAlphabet{\mathcal} {symbols}
\DeclareMathAlphabet {\mathbf}{OT1}{cmsmf}{bx}{n}
-\DeclareMathAlphabet {\mathsf}{OT1}{cmsmf}{m}{n}
\DeclareMathAlphabet {\mathit}{OT1}{cmsmf}{m}{it}
\DeclareMathAlphabet {\mathtt}{OT1}{cmtt}{m}{n}
\SetMathAlphabet\mathsf{bold}{OT1}{cmsmf}{bx}{n}
@@ -86,8 +135,9 @@
\fi
\DeclareMathAlphabet {\mathserif}{OT1}{cmr}{m}{n}
+\DeclareMathAlphabet {\mathsf}{OT1}{cmsmf}{m}{n}
% Use the improved sans family
% (provides sans serif small caps fonts)
-\def\sfdefault{\sfdefault@sansmathfonts}
+\let\sfdefault\sfdefault@sansmathfonts
diff --git a/Master/texmf-dist/tex/latex/sansmathfonts/t1xcmss.fd b/Master/texmf-dist/tex/latex/sansmathfonts/t1xcmss.fd
index 225221fde24..dc1a25d4a2d 100644
--- a/Master/texmf-dist/tex/latex/sansmathfonts/t1xcmss.fd
+++ b/Master/texmf-dist/tex/latex/sansmathfonts/t1xcmss.fd
@@ -14,7 +14,7 @@
%%
%%
\ProvidesFile{t1xcmss.fd}
- [2019/04/04]
+ [2021/06/22]
\providecommand{\EC@family}[5]{%
\DeclareFontShape{#1}{#2}{#3}{#4}%
{
@@ -46,6 +46,12 @@
\EC@family{T1}{xcmss}{bx}{sc}{eczx} % New: bold sans serif small caps
\EC@family{T1}{xcmss}{bx}{scsl}{eczo} % New: slanted bold sans serif small caps
\EC@family{T1}{xcmss}{bx}{scit}{eczo} % New: slanted bold sans serif small caps
+\DeclareFontShape{T1}{xcmss}{b}{n}{<->sub*xcmss/bx/n}{}
+\DeclareFontShape{T1}{xcmss}{b}{it}{<->sub*xcmss/bx/it}{}
+\DeclareFontShape{T1}{xcmss}{b}{sl}{<->sub*xcmss/bx/sl}{}
+\DeclareFontShape{T1}{xcmss}{b}{sc}{<->sub*xcmss/bx/sc}{}
+\DeclareFontShape{T1}{xcmss}{b}{scsl}{<->sub*xcmss/bx/scsl}{}
+\DeclareFontShape{T1}{xcmss}{b}{scit}{<->sub*xcmss/bx/scit}{}
%%%%%%% semibold condensed series
\DeclareFontShape{T1}{xcmss}{sbc}{n}{%
<->ecssdc10
diff --git a/Master/texmf-dist/tex/latex/sansmathfonts/ucmsmf.fd b/Master/texmf-dist/tex/latex/sansmathfonts/ucmsmf.fd
index e7fbd1a876c..e2cec723cc0 100644
--- a/Master/texmf-dist/tex/latex/sansmathfonts/ucmsmf.fd
+++ b/Master/texmf-dist/tex/latex/sansmathfonts/ucmsmf.fd
@@ -14,7 +14,7 @@
%%
%%
\ProvidesFile{ucmsmf.fd}
- [2019/04/04]
+ [2021/06/22]
\DeclareFontFamily{U}{cmsmf}{\hyphenchar\font45 }
% Serifed I, Pi, Xi
\DeclareFontShape{U}{cmsmf}{m}{n}
@@ -78,6 +78,12 @@
{%
<->cmsmfxicsc10%
}{}
+\DeclareFontShape{U}{cmsmf}{b}{n}{<->sub*xcmss/bx/n}{}
+\DeclareFontShape{U}{cmsmf}{b}{it}{<->sub*xcmss/bx/it}{}
+\DeclareFontShape{U}{cmsmf}{b}{sl}{<->sub*xcmss/bx/sl}{}
+\DeclareFontShape{U}{cmsmf}{b}{sc}{<->sub*xcmss/bx/sc}{}
+\DeclareFontShape{U}{cmsmf}{b}{scsl}{<->sub*xcmss/bx/scsl}{}
+\DeclareFontShape{U}{cmsmf}{b}{scit}{<->sub*xcmss/bx/scit}{}
% Odd shapes
\DeclareFontShape{U}{cmsmf}{sbc}{n}
{%
diff --git a/Master/texmf-dist/tex/latex/sansmathfonts/uxcmss.fd b/Master/texmf-dist/tex/latex/sansmathfonts/uxcmss.fd
index 91e045eba78..86aa7936945 100644
--- a/Master/texmf-dist/tex/latex/sansmathfonts/uxcmss.fd
+++ b/Master/texmf-dist/tex/latex/sansmathfonts/uxcmss.fd
@@ -13,7 +13,7 @@
%%
%%
\ProvidesFile{uxcmss.fd}
- [2019/04/04]
+ [2021/06/22]
\DeclareFontFamily{U}{xcmss}{\hyphenchar\font45 }
\DeclareFontShape{U}{xcmss}{m}{n}
{%
@@ -77,6 +77,12 @@
{%
<->cmssxicsc10%
}{}
+\DeclareFontShape{U}{xcmss}{b}{n}{<->sub*xcmss/bx/n}{}
+\DeclareFontShape{U}{xcmss}{b}{it}{<->sub*xcmss/bx/it}{}
+\DeclareFontShape{U}{xcmss}{b}{sl}{<->sub*xcmss/bx/sl}{}
+\DeclareFontShape{U}{xcmss}{b}{sc}{<->sub*xcmss/bx/sc}{}
+\DeclareFontShape{U}{xcmss}{b}{scsl}{<->sub*xcmss/bx/scsl}{}
+\DeclareFontShape{U}{xcmss}{b}{scit}{<->sub*xcmss/bx/scit}{}
% Odd shapes
\DeclareFontShape{U}{xcmss}{sbc}{n}
{%