From a809a190ff669feb11cb64db915b763abd0bed81 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 23 Jun 2021 03:01:05 +0000 Subject: CTAN sync 202106230301 --- fonts/sansmathfonts/README | 11 - fonts/sansmathfonts/README.txt | 14 + fonts/sansmathfonts/doc/sansmathfonts.pdf | Bin 264428 -> 0 bytes fonts/sansmathfonts/doc/sansmathfonts.tex | 505 ----------------------------- fonts/sansmathfonts/map/sansmathfonts.map | 165 ---------- fonts/sansmathfonts/sansmathfonts.map | 165 ++++++++++ fonts/sansmathfonts/sansmathfonts.pdf | Bin 0 -> 292658 bytes fonts/sansmathfonts/sansmathfonts.tex | 521 ++++++++++++++++++++++++++++++ fonts/sansmathfonts/tex/omxcmssex.fd | 2 +- fonts/sansmathfonts/tex/ot1cmsmf.fd | 8 +- fonts/sansmathfonts/tex/ot1xcmss.fd | 8 +- fonts/sansmathfonts/tex/sansmathfonts.sty | 64 +++- fonts/sansmathfonts/tex/t1xcmss.fd | 8 +- fonts/sansmathfonts/tex/ucmsmf.fd | 8 +- fonts/sansmathfonts/tex/uxcmss.fd | 8 +- 15 files changed, 793 insertions(+), 694 deletions(-) delete mode 100644 fonts/sansmathfonts/README create mode 100644 fonts/sansmathfonts/README.txt delete mode 100644 fonts/sansmathfonts/doc/sansmathfonts.pdf delete mode 100644 fonts/sansmathfonts/doc/sansmathfonts.tex delete mode 100644 fonts/sansmathfonts/map/sansmathfonts.map create mode 100644 fonts/sansmathfonts/sansmathfonts.map create mode 100644 fonts/sansmathfonts/sansmathfonts.pdf create mode 100644 fonts/sansmathfonts/sansmathfonts.tex (limited to 'fonts') diff --git a/fonts/sansmathfonts/README b/fonts/sansmathfonts/README deleted file mode 100644 index b6eb356eb1..0000000000 --- a/fonts/sansmathfonts/README +++ /dev/null @@ -1,11 +0,0 @@ -The sansmathfonts package provides math fonts designed to work with the Computer Modern sans serif typeface, as well as some missing Computer Modern sans serif text fonts. - -This package is released under the LaTeX Project Public License. See - https://www.latex-project.org//lppl/ -or - https://ctan.org/license/lppl1.3c -for the details of that license. - -This package has the LPPL maintenance status ``maintained''. The package author is Ariel Barton; she may be contacted at origamist@gmail.com. - -For more information, see the documentation file sansmathfonts.pdf. \ No newline at end of file diff --git a/fonts/sansmathfonts/README.txt b/fonts/sansmathfonts/README.txt new file mode 100644 index 0000000000..aa27d12846 --- /dev/null +++ b/fonts/sansmathfonts/README.txt @@ -0,0 +1,14 @@ +The sansmathfonts package provides math fonts designed to work with the Computer Modern sans serif typeface, as well as some missing Computer Modern sans serif text fonts. + +This version was released 2021/06/22. + +This package is released under the LaTeX Project Public License. See + https://www.latex-project.org//lppl/ +or + https://ctan.org/license/lppl1.3c +for the details of that license. + +This package has the LPPL maintenance status ``maintained''. The package author is Ariel Barton; she may be contacted at origamist@gmail.com. + +For more information, see the documentation file sansmathfonts.pdf. + diff --git a/fonts/sansmathfonts/doc/sansmathfonts.pdf b/fonts/sansmathfonts/doc/sansmathfonts.pdf deleted file mode 100644 index d420ca7e9a..0000000000 Binary files a/fonts/sansmathfonts/doc/sansmathfonts.pdf and /dev/null differ diff --git a/fonts/sansmathfonts/doc/sansmathfonts.tex b/fonts/sansmathfonts/doc/sansmathfonts.tex deleted file mode 100644 index a0721b7c16..0000000000 --- a/fonts/sansmathfonts/doc/sansmathfonts.tex +++ /dev/null @@ -1,505 +0,0 @@ -% !TEX TS-program = pdflatex - -% sansmathfonts.tex -% -% Documentation for the sansmathfonts package -% -% author: Ariel Barton -% -% Copyright Ariel Barton, 2013--2019 -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either -% version 1.3 of this license or (at your option) any -% later version. -% The latest version of the license is in -% http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of -% LaTeX version 2003/06/01 or later. -% -% This work has the LPPL maintenance status "author-maintained". -% -% The complete list of files considered part of this work is in -% the file `sansmathfonts.pdf' and its source code `sansmathfonts.tex'. -% -% Date: 2019/04/04 - -\documentclass{amsart} - -\raggedbottom - -\usepackage{sansmathfonts} -\usepackage{hyperref, amsfonts, esint, slantsc, bm} - -%\let\mathserif\mathrm -%\usepackage[T1]{fontenc} - -\def\sectionautorefname{Section} - -\title{The \textsf{sansmathfonts} package} -\author{Ariel Barton} - -\DeclareTextFontCommand{\cmsmf} -{\fontencoding{OT1}\fontfamily{cmsmf}\selectfont} - - -\begin{document} - -\maketitle - -The Computer Modern font family has a sans serif typeface. However, compared to the serif typeface, it is incomplete: there are no sans serif small caps or math fonts. Furthermore, the bold slanted font is not available as an outline font. -This leads to highly unsatisfactory typography of documents that use sans serif for the body text. - - -The \textsf{sansmathfonts} package provides these ``missing'' fonts. Most of the usefulness of the package is in the fonts; \texttt{sansmathfonts.sty} is a small package providing \LaTeX\ support. To use it, simply say \texttt{\char`\\usepackage\char`\{sansmathfonts\char`\}} in the document preamble. - -This will redefine the document's default sans serif font family from \textsf{cmss} to \textsf{xcmss}; this will make the \textsf{\textbf{\textit{bold slanted}}} and \textsf{\textsc{Caps and small caps}} fonts available via normal \LaTeX\ font commands (\verb|\textbf|, \verb|\textit| and \verb|\textsc|). If you additionally load Harald Harder's \textsf{slantsc} package, this will make \textsf{\textit{\textsc{slanted caps and small caps}}} available. - -This will also switch the math fonts to sans serif: -\[\Im \mathop{\mathrm{exp}}(i\omega)=\sin(\omega) \] -If you use symbols from the \textsf{amsfonts} or \textsf{esint} packages, they will also be replaced by appropriate sans serif versions: -\[\ointclockwise \quad \mho \quad \hbar\] -By default, the commands \verb|\mathrm| and \verb|\mathsf| both produce sans serif text. To get serifed roman text, use the command \verb|\mathserif|: -\[\mathrm{mathrm}\quad\mathsf{mathsf}\quad\mathserif{mathserif}\] -\textsf{sansmathfonts} knows about the \textsf{beamer} document class and will automatically use \textsf{beamer}'s \texttt{professionalfonts} theme. - - -If you prefer roman math fonts, either use the \texttt{[notmath]} package option, or don't use the package at all; instead use the line \texttt{\char`\\renewcommand\char`\{\char`\\sfdefault\char`\}\char `\{xcmss\char`\}} -in the document preamble. - -The math fonts differ slightly from Knuth's standard sans serif fonts. Specifically, for ease of reading I have chosen to put the serifs back on the uppercase I, Pi and~Xi: -\[I\quad\mathrm{I}\quad\mathbf{I}\quad\bm{I}\quad -\mathit{\Pi}\quad\Pi\quad\mathbf{\Pi}\quad -\mathit{\Xi}\quad\Xi\quad\mathbf{\Xi}\quad -\text{and not\quad \textsf{I\quad \char5\quad\char4}}\] -\textsf{Sans serif Is outside of math mode} still have no serifs unless the package option \texttt{[I]} is used; note that this option is incompatible with the T1 encoding. - - -Feedback is appreciated and may be sent to \texttt{origamist@gmail.com}. - - - - -\section{List of new fonts}\label{sec:fonts} - -All of the Type 1 fonts in this package were generated using mftrace 1.2.18 and Fontforge. - -The following fonts are based mainly on Donald Knuth's Computer Modern fonts. - -\textsf{\fontshape{ui}\selectfont Unslanted italic} (needed for the pounds symbol \textsf{\pounds}): -\begin{itemize} -\item \textsf{cmssu10} -\end{itemize} - -Text \textsf{\textsc{caps and small caps}}, OT1 encoding: - -\nobreak - -\noindent\parbox[t]{0.25\textwidth}{ -\begin{itemize} -\item \textsf{cmssbxcsc10} -\item \textsf{cmssxicsc10} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmsscsc8} -\item \textsf{cmsscsci8} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmsscsc9} -\item \textsf{cmsscsci9} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmsscsc10} -\item \textsf{cmsscsci10} -\end{itemize}} - -\bigskip - -Math italic ($\alpha \beta \gamma abc \ell \wp$): - -\nobreak - -\noindent\parbox[t]{0.25\textwidth}{ -\begin{itemize} -\item \textsf{cmssmi5} -\item \textsf{cmssmi6} -\item \textsf{cmssmi7} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmssmi8} -\item \textsf{cmssmi9} -\item \textsf{cmssmi10} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmssmib5} -\item \textsf{cmssmib6} -\item \textsf{cmssmib7} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmssmib8} -\item \textsf{cmssmib9} -\item \textsf{cmssmib10} -\end{itemize}} - -\bigskip - -Math symbols ($\Re\oplus \Im $): - -\nobreak - -\noindent\parbox[t]{0.25\textwidth}{ -\begin{itemize} -\item \textsf{cmsssy5} -\item \textsf{cmsssy6} -\item \textsf{cmsssy7} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmsssy8} -\item \textsf{cmsssy9} -\item \textsf{cmsssy10} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmssbsy5} -\item \textsf{cmssbsy6} -\item \textsf{cmssbsy7} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmssbsy8} -\item \textsf{cmssbsy9} -\item \textsf{cmssbsy10} -\end{itemize}} - -\bigskip - - -Math extended fonts ($\int \sum \prod$): - -\nobreak - -\noindent\parbox[t]{0.25\textwidth}{ -\begin{itemize} -\item \textsf{cmssex7} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmssex8} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmssex9} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmssex10} -\end{itemize}} - -\bigskip - -\cmsmf{Sans serif text fonts with serifed capital~I:} - -\noindent\parbox[t]{0.25\textwidth}{ -\begin{itemize} -\item \textsf{cmsmf8} -\item \textsf{cmsmf9} -\item \textsf{cmsmf10} -\item \textsf{cmsmf12} -\item \textsf{cmsmf17} -\item \textsf{cmsmfcsc8} -\item \textsf{cmsmfcsc9} -\item \textsf{cmsmfcsc10} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmsmfbx8} -\item \textsf{cmsmfbx9} -\item \textsf{cmsmfbx10} -\item \textsf{cmsmfbx12} -\item \textsf{cmsmfbx17} -\item \noindent\rlap{\textsf{cmsmfbxcsc10}} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmsmfi8} -\item \textsf{cmsmfi9} -\item \textsf{cmsmfi10} -\item \textsf{cmsmfi12} -\item \textsf{cmsmfi17} -\item \textsf{cmsmfcsci8} -\item \textsf{cmsmfcsci9} -\item \textsf{cmsmfcsci10} -\end{itemize}}\parbox[t]{0.25\textwidth}{\begin{itemize} -\item \textsf{cmsmfxi8} -\item \textsf{cmsmfxi9} -\item \textsf{cmsmfxi10} -\item \textsf{cmsmfxi12} -\item \textsf{cmsmfxi17} -\item \noindent\rlap{\textsf{cmsmfxicsc10}} -\end{itemize}} - - -\bigskip - - -The following fonts are based on fonts by other authors. - -\nobreak - -\noindent\parbox[t]{0.33\textwidth}{ -\raggedright -Eddie Saudrais's \textsf{esint} package -\begin{itemize} -\item \textsf{ssesint7} -\item \textsf{ssesint8} -\item \textsf{ssesint9} -\item \textsf{ssesint10} -\end{itemize}}\parbox[t]{0.33\textwidth}{ -\raggedright -AMS symbols (\textsf{amsfonts} package) -\begin{itemize} -\item \textsf{ssmsam5} -\item \textsf{ssmsam6} -\item \textsf{ssmsam7} -\item \textsf{ssmsam8} -\item \textsf{ssmsam9} -\item \textsf{ssmsam10} -\end{itemize}}\parbox[t]{0.33\textwidth}{ -\raggedright -AMS symbols (\textsf{amsfonts} package) -\begin{itemize} -\item \textsf{ssmsbm5} -\item \textsf{ssmsbm6} -\item \textsf{ssmsbm7} -\item \textsf{ssmsbm8} -\item \textsf{ssmsbm9} -\item \textsf{ssmsbm10} -\end{itemize}} - -\bigskip - -The following fonts are based on J\"org Knappen's European Computer Modern fonts. - -\nobreak - -\bigskip -\noindent -\parbox[t]{0.25\textwidth}{ -\font\temp = eczz1000 \temp -Normal -\begin{itemize} -\item \textsf{eczz0500} -\item \textsf{eczz0600} -\item \textsf{eczz0700} -\item \textsf{eczz0800} -\item \textsf{eczz0900} -\item \textsf{eczz1000} -\item \textsf{eczz1095} -\item \textsf{eczz1200} -\item \textsf{eczz1440} -\item \textsf{eczz1728} -\item \textsf{eczz2074} -\item \textsf{eczz2488} -\item \textsf{eczz2986} -\item \textsf{eczz3583} -\end{itemize} -}\parbox[t]{0.25\textwidth}{ -\font\temp = eczi1000 \temp -Slanted -\begin{itemize} -\item \textsf{eczi0500} -\item \textsf{eczi0600} -\item \textsf{eczi0700} -\item \textsf{eczi0800} -\item \textsf{eczi0900} -\item \textsf{eczi1000} -\item \textsf{eczi1095} -\item \textsf{eczi1200} -\item \textsf{eczi1440} -\item \textsf{eczi1728} -\item \textsf{eczi2074} -\item \textsf{eczi2488} -\item \textsf{eczi2986} -\item \textsf{eczi3583} -\end{itemize} -}\parbox[t]{0.25\textwidth}{ -\font\temp = eczx1000 \temp -Bold -\begin{itemize} -\item \textsf{eczx0500} -\item \textsf{eczx0600} -\item \textsf{eczx0700} -\item \textsf{eczx0800} -\item \textsf{eczx0900} -\item \textsf{eczx1000} -\item \textsf{eczx1095} -\item \textsf{eczx1200} -\item \textsf{eczx1440} -\item \textsf{eczx1728} -\item \textsf{eczx2074} -\item \textsf{eczx2488} -\item \textsf{eczx2986} -\item \textsf{eczx3583} -\end{itemize} -}\parbox[t]{0.25\textwidth}{ -\font\temp = eczo1000 \temp -Bold slanted -\begin{itemize} -\item \textsf{eczo0500} -\item \textsf{eczo0600} -\item \textsf{eczo0700} -\item \textsf{eczo0800} -\item \textsf{eczo0900} -\item \textsf{eczo1000} -\item \textsf{eczo1095} -\item \textsf{eczo1200} -\item \textsf{eczo1440} -\item \textsf{eczo1728} -\item \textsf{eczo2074} -\item \textsf{eczo2488} -\item \textsf{eczo2986} -\item \textsf{eczo3583} -\end{itemize} -} - -\bigskip - -The \textsf{sansmathfonts} also provides outline versions of the following fonts (supplied with Mac\TeX\ 2012 as Metafont fonts only). These provide \textsf{\textbf{bold}} and \textsf{\textsl{\textbf{bold slanted}}} fonts at varying sizes. - -\noindent\parbox[t]{0.25\textwidth}{ -\font\temp = eczo1000 \temp -\begin{itemize} -\item \textsf{cmssxi8} -\item \textsf{cmssxi9} -\item \textsf{cmssxi10} -\end{itemize} -}\parbox[t]{0.25\textwidth}{ -\begin{itemize} -\item \textsf{cmssxi12} -\item \textsf{cmssxi17} -\end{itemize} -}\parbox[t]{0.25\textwidth}{ -\begin{itemize} -\item \textsf{cmssbx8} -\item \textsf{cmssbx9} -\end{itemize} -}\parbox[t]{0.25\textwidth}{ -\begin{itemize} -\item \textsf{cmssbx12} -\item \textsf{cmssbx17} -\end{itemize} -} - - -\section{Files in this package}\label{sec:files} - -109 of the new fonts listed in \autoref{sec:fonts} come in three files each: the \TeX\ Font Metric files (extension \texttt{.tfm}), the Type 1 font file (extension \texttt{.pfb}), and Metafont source file (extension \texttt{.mf}). - -The 9 \textsf{cmssxi} and \textsf{cmssbx} fonts come as \texttt{.pfb} files only, as the MetaFont sources are already part of the \TeX\ Live distribution (see also the \textsf{sauter} package at \texttt{\href{http://www.ctan.org/tex-archive/fonts/cm/sauter} {http:/\slash www.ctan.org\slash tex-archive\slash fonts\slash cm\slash sauter}}). - -The 28 \textsf{cmsmf} fonts are almost identical to their \textsf{cmss} counterparts. Thus, these fonts are provided as \emph{virtual} fonts, and so come in five parts: the virtual font file (\texttt{cmsmf.vf}), the \TeX\ Font Metric file (\texttt{cmsmf.tfm}), and the font \textsf{cmsmfIPiXi} containing only the altered letters \cmsmf{I}, \cmsmf{\char4} and \cmsmf{\char5} (and \cmsmf{\textsc{i}}, in the small caps fonts); this font comes as MetaFont source (\texttt{cmsmfIPiXi.mf}), \TeX\ font metric (\texttt{cmsmfIPiXi.tfm}) and Type 1 font (\texttt{cmsmfIPiXi.pfb}). - -In addition, this package should come with the following 29 supplementary Metafont source files: - -\begin{itemize} -\item \texttt{eczi.mf} -\item \texttt{eczo.mf} -\item \texttt{eczx.mf} -\item \texttt{eczz.mf} -\item \texttt{sans-amsya.mf} -\item \texttt{sans-amsyb.mf} -\item \texttt{sans-asymbols.mf} -\item \texttt{sans-bigdel.mf} -\item \texttt{sans-bigint.mf} -\item \texttt{sans-bigop.mf} -\item \texttt{sans-bsymbols.mf} -\item \texttt{sans-calu.mf} -\item \texttt{sans-csc.mf} -\item \texttt{sans-greekl.mf} -\item \texttt{sans-greeku.mf} -\item \texttt{sans-IPiXi.mf} -\item \texttt{sans-IPiXicsc.mf} -\item \texttt{sans-mathex.mf} -\item \texttt{sans-mathint.mf} -\item \texttt{sans-mathsl.mf} -\item \texttt{sans-mathsy.mf} -\item \texttt{sans-roman.mf} -\item \texttt{sans-romanu.mf} -\item \texttt{sans-romms.mf} -\item \texttt{sans-slantms.mf} -\item \texttt{sans-sym.mf} -\item \texttt{sans-symbol.mf} -\item \texttt{sans-xbbold.mf} -\item \texttt{sansfontbase.mf} -\end{itemize} - -This package should also come with the following 11 \LaTeX\ Font Definition files: - -\begin{itemize} -\item \texttt{omlcmssm.fd} -\item \texttt{omscmsssy.fd} -\item \texttt{omxcmssex.fd} - -\item \texttt{ot1cmsmf.fd} -\item \texttt{ot1xcmss.fd} -\item \texttt{t1xcmss.fd} - -\item \texttt{ucmsmf.fd} -\item \texttt{ussesint.fd} -\item \texttt{ussmsa.fd} -\item \texttt{ussmsb.fd} -\item \texttt{uxcmss.fd} -\end{itemize} - -Finally, it should come with the font map file, LaTeX package, and documentation: - -\begin{itemize} -\item \texttt{sansmathfonts.map} -\item \texttt{sansmathfonts.sty} -\item \texttt{sansmathfonts.tex} -\item \texttt{sansmathfonts.pdf} -\end{itemize} - -% The subfolders should contain: - -% doc: 2 files -% map: 1 file -% tex: 12 files - -% New Type 1 fonts: 137 -% Old fonts as Type 1: 9 -% Virtual fonts: 28 -% Supplementary .mf: 29 - -% source: 166 files (=137+29) -% tfm: 165 files (=137+28) -% type1: 146 files (=137+9) -% vf: 28 (=28) - -\section{License} - -This work (the \textsf{sansmathfonts} package) consists of the -files listed in \autoref{sec:files}. - -This work may be distributed and/or modified under the -conditions of the \LaTeX\ Project Public License, either -version 1.3 of this license or (at your option) any -later version. - -The latest version of the license is in -\begin{quote} -\href {http://www.latex-project.org/lppl.txt} -{\texttt{http://www.latex-project.org/lppl.txt}} -\end{quote} -and version 1.3 or later is part of all distributions of -\LaTeX\ version 2003/06/01 or later. - -This work has the LPPL maintenance status ``maintained''. - -Almost all of the Metafont files in this package are very closely based on existing files in the 2011 \TeX\ Live distribution; see comments near the start of the individual files for notes on their sources. Also, note that the -files -\begin{itemize} -\item \texttt{cmssxi8.pfb} -\item \texttt{cmssxi9.pfb} -\item \texttt{cmssxi10.pfb} -\item \texttt{cmssxi12.pfb} -\item \texttt{cmssxi17.pfb} -\item \texttt{cmssbx8.pfb} -\item \texttt{cmssbx9.pfb} -\item \texttt{cmssbx12.pfb} -\item \texttt{cmssbx17.pfb} -\end{itemize} -were derived from unedited MetaFont source files in the \textsf{sauter} package using mftrace 1.2.18 and Fontforge. - -\section{Revision history} - -\begin{itemize} -\item -April 2013: Original upload -\item -February 2017: Corrected the font names in \texttt{sansmathfonts.map}; this allowed the package to be used correctly with \textsf{dvips}. -\item -April 2019: Fixed a bug in the file \texttt{ucmsmf.fd} that prevented the \texttt{[I]} package option from working correctly; rewrote most of the \texttt{.fd} files to allow fonts to be loaded at arbitrary sizes; changed maintenance status from ``author-maintained'' to ``maintained''. -\item -June 2019: Rewrote the file \texttt{omxcmssex.fd} to allow the math extended characters to be loaded at arbitrary sizes. -\end{itemize} -\end{document} \ No newline at end of file diff --git a/fonts/sansmathfonts/map/sansmathfonts.map b/fonts/sansmathfonts/map/sansmathfonts.map deleted file mode 100644 index c92f41f520..0000000000 --- a/fonts/sansmathfonts/map/sansmathfonts.map +++ /dev/null @@ -1,165 +0,0 @@ -% Unslanted italic for pounds symbol -cmssu10 ComputerModernSans-UnslanteditalicRegular10pt cmssex7 diff --git a/fonts/sansmathfonts/tex/ot1cmsmf.fd b/fonts/sansmathfonts/tex/ot1cmsmf.fd index 98f17cf6b2..ad57f77c0d 100644 --- a/fonts/sansmathfonts/tex/ot1cmsmf.fd +++ b/fonts/sansmathfonts/tex/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/fonts/sansmathfonts/tex/ot1xcmss.fd b/fonts/sansmathfonts/tex/ot1xcmss.fd index 68ef66e78a..38e3618d91 100644 --- a/fonts/sansmathfonts/tex/ot1xcmss.fd +++ b/fonts/sansmathfonts/tex/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/fonts/sansmathfonts/tex/sansmathfonts.sty b/fonts/sansmathfonts/tex/sansmathfonts.sty index bb47e5ff75..3c2dfd41b8 100644 --- a/fonts/sansmathfonts/tex/sansmathfonts.sty +++ b/fonts/sansmathfonts/tex/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/fonts/sansmathfonts/tex/t1xcmss.fd b/fonts/sansmathfonts/tex/t1xcmss.fd index 225221fde2..dc1a25d4a2 100644 --- a/fonts/sansmathfonts/tex/t1xcmss.fd +++ b/fonts/sansmathfonts/tex/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/fonts/sansmathfonts/tex/ucmsmf.fd b/fonts/sansmathfonts/tex/ucmsmf.fd index e7fbd1a876..e2cec723cc 100644 --- a/fonts/sansmathfonts/tex/ucmsmf.fd +++ b/fonts/sansmathfonts/tex/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/fonts/sansmathfonts/tex/uxcmss.fd b/fonts/sansmathfonts/tex/uxcmss.fd index 91e045eba7..86aa793694 100644 --- a/fonts/sansmathfonts/tex/uxcmss.fd +++ b/fonts/sansmathfonts/tex/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} {% -- cgit v1.2.3