texlive[68014] Master/texmf-dist: notomath (23aug23)

commits+karl at tug.org commits+karl at tug.org
Wed Aug 23 00:44:46 CEST 2023


Revision: 68014
          http://tug.org/svn/texlive?view=revision&revision=68014
Author:   karl
Date:     2023-08-23 00:44:45 +0200 (Wed, 23 Aug 2023)
Log Message:
-----------
notomath (23aug23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/notomath/notomath-doc.pdf
    trunk/Master/texmf-dist/doc/fonts/notomath/notomath-doc.tex
    trunk/Master/texmf-dist/fonts/tfm/public/notomath/notobmia.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/notomath/notomia.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/notomath/notosansbmia.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/notomath/notosansmia.tfm
    trunk/Master/texmf-dist/fonts/vf/public/notomath/notobmia.vf
    trunk/Master/texmf-dist/fonts/vf/public/notomath/notomia.vf
    trunk/Master/texmf-dist/fonts/vf/public/notomath/notosansbmia.vf
    trunk/Master/texmf-dist/fonts/vf/public/notomath/notosansmia.vf
    trunk/Master/texmf-dist/tex/latex/notomath/notomath.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/fonts/notomath/README

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/fonts/notomath/README.txt

Added: trunk/Master/texmf-dist/doc/fonts/notomath/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/notomath/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/fonts/notomath/README	2023-08-22 22:44:45 UTC (rev 68014)
@@ -0,0 +1,19 @@
+This small package provides a math package that amounts to modifications of the NotoSerif and NotoSans Roman and Greek letters with most symbols taken from newtxmath which must of course be installed (version 1.629 or higher) and its map file enabled.  The eight font files in this package are in pfb format, licensed under the SIL OFL, version 1.1. All other LaTeX support files are subject to the LaTeX Project Public License. See 
+http://www.ctan.org/license/lppl1.3 for the details of that license. 
+Copyright (c) 2020-2023 Michael Sharpe
+
+Current version: 1.03 2023-08-21
+
+Changes in version 1.03
+1. Due to the ravages of time, parts of the package became disfunctional. The fixes involve
+(i) remaking the lettersA  virtual fonts for both noto-serif and noto-sans math;
+(ii) completely rewriting notomath.sty to use only \PassOptionsToPackage with one option at a time.
+2. Corrected some minor errors in the documentation.
+
+Changes in version 1.02
+Brought math blackboard bold alphabets into conformance with additions to newtxmath.
+
+Changes in version 1.01
+Added some Greek Blackboard glyphs.
+
+Maintainer: Michael Sharpe, msharpe at ucsd.edu
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/fonts/notomath/README
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/fonts/notomath/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/notomath/README.txt	2023-08-21 23:43:31 UTC (rev 68013)
+++ trunk/Master/texmf-dist/doc/fonts/notomath/README.txt	2023-08-22 22:44:45 UTC (rev 68014)
@@ -1,13 +0,0 @@
-This small package provides a math package that amounts to modifications of the NotoSerif and NotoSans Roman and Greek letters with most symbols taken from newtxmath which must of course be installed (version 1.629 or higher) and its map file enabled.  The eight font files in this package are in pfb format, licensed under the SIL OFL, version 1.1. All other LaTeX support files are subject to the LaTeX Project Public License. See 
-http://www.ctan.org/license/lppl1.3 for the details of that license. 
-Copyright (c) 2020-2021 Michael Sharpe
-
-Current version: 1.02 2021-03-24
-
-Changes in version 1.02
-Brought math blackboard bold alphabets into conformance with additions to newtxmath.
-
-Changes in version 1.01
-Added some Greek Blackboard glyphs.
-
-Maintainer: Michael Sharpe, msharpe at ucsd.edu
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/fonts/notomath/notomath-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/notomath/notomath-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/notomath/notomath-doc.tex	2023-08-21 23:43:31 UTC (rev 68013)
+++ trunk/Master/texmf-dist/doc/fonts/notomath/notomath-doc.tex	2023-08-22 22:44:45 UTC (rev 68014)
@@ -8,7 +8,7 @@
 %\usepackage{amssymb}% don't use with newtxmath
 %SetFonts
 % libertine+newtxmath
-\pdfmapfile{=NotoMath.map}
+%\pdfmapfile{=NotoMath.map}
 \usepackage[T1]{fontenc}
 %\usepackage[scaled=1.1]{zlmtt}
 %\usepackage[scaled=1.1]{newtxtt}
@@ -55,7 +55,7 @@
 load {\tt noto-serif} and {\tt noto-sans} scaled down by the factor .9 to an x-height of 482;
 \item set the main text font to NotoSerif and set \verb|\sfdefault| to 
 NotoSans;
-\item the only weight used from the nine available weights are {\tt regular} and {\tt bold}, as these are the weights used in {\tt newtxmath} with options {\tt noto} and {\tt notosans};
+\item the only weights used from the nine available weights are {\tt regular} and {\tt bold}, as these are the weights used in {\tt newtxmath} with options {\tt noto} and {\tt notosans};
 \item load {\tt newtxmath} with option {noto} at natural scale.
 \end{itemize}
 
@@ -90,7 +90,8 @@
 \item The TT package {\tt nimbusmononarrow} does have a {\tt visiblespace} glyph and its {\tt OT1} encoding is in {\tt TEX TYPEWRITER TEXT} so \verb|\verb| and \verb|\texttt| function correctly even in {\tt OT1} encoding. Caps are not too tall---this is my preferred serifed TT with NotoSans text.
 \end{itemize}
 
-\item 
+\item As with all {\tt newtxmath} based packages, you should not load {\tt amssymb}---{\tt newtxmath} has its own replacement for the AMSm math symbol fonts, of a more approriate size and color match. You do not need to load {\tt amsmath}, though doing so does no harm.
+
 \end{itemize}
 
  
@@ -126,12 +127,24 @@
 \textsc{Example 4:}
 \begin{verbatim}
 \usepackage[scaled=1.24]{nimbusmononarrow}% typewriter font
-\usepackage[scale=1.11,sfdefault,pf,osf]{notomath}
+\usepackage[scale=1.11,sfdefault,pf,osf,subscriptcorrection]{notomath}
 % load NotoSerif, NotoSans, mainfont=NotoSans
 % option subscriptcorrection passed to newtxmath
 \end{verbatim}
 will output the Noto fonts scaled to x-height $536$ with matching math symbols. The main text font will be NotoSans with proportional oldstyle figures except in math, which always uses tabular lining figures.
 
+\textsc{Example 5:}
+\begin{verbatim}
+\usepackage[scaled=1.24]{nimbusmononarrow}% typewriter font
+\usepackage[scale=1.11,sfdefault,pf,osf,subscriptcorrection]{notomath}
+% load NotoSans as mainfont, then newtxmath with option notosans
+% option subscriptcorrection passed to newtxmath
+\usepackage[book,medium,scaled=1,sfdefault]{FiraSans}
+% then replace mainfont by FiraSans
+\end{verbatim}
+will output FiraSans as main text font, with math symbols from {\tt newtxmath} and math letters from {\tt notosans}. This combination seems to work well with {\tt beamer}, though each {\tt scale}  should be multiplied by the same factor.
+
+
 The examples above all work with {\tt pdflatex}, and with {\tt xelatex} if some additional rules are followed. With {\tt xelatex}, the lines in the above examples must precede  the loading of {\tt fontspec}, which must use the option {\tt nomath}. After that, one may load any text fonts required for secondary use, or even replace the main Noto fonts.
 \section*{Subscript Correction}
 The spacing of math letters was adjusted so the superscripts would not collide with the base letters. This was necessary mainly for letters like $j$, $f$, $y$ and $\beta$ as superscripts and like $D$ and $\Omega$ as base letters. As a result of these adjustments, some of the formerly problematic superscript letters become problematic subscript letters. Two files are provided to make adjustments to the letter by inserting appropriate kerns when that letter is the first character in a subscript---one for NotoSerif and one for NotoSans letters, under the respective names 
@@ -209,7 +222,7 @@
 \def\e{\varepsilon}
 \textbf{An inversion formula:} Let $g:\mathbb{R}^+\to \mathbb{R}$
  be bounded and right continuous, and let
-$\varphi(\alpha)\coloneqq\int_0^\infty e^{-\alpha t}g(t)\,dt$ denote its Laplace transform. Then, for every $t>0$,
+$\varphi(\alpha)\coloneq\int_0^\infty e^{-\alpha t}g(t)\,dt$ denote its Laplace transform. Then, for every $t>0$,
 \begin{equation}
 g(t)=\lim_{\mathstrut\e\to 0}\lim_{\mathstrut\lambda\to\infty}\e^{-1}\sum_{\lambda t<k\le (\lambda+\e)t}
 \frac{(-1)^k}{k!}\lambda^k\varphi ^{(k)}(\lambda).
@@ -221,7 +234,7 @@
 \end{equation}
  Fix an initial point $\bp_0$ in the interior of $U$, and assume $\bv(\bp_0,\bal_0)\neq\mathbf{0}$. Then, for sufficiently small $t$, $|\bp-\bp_0|$ and $|\bal-\bal_0|$, the system~(\ref{eq:first}) has a unique solution $\bx_{\bal}(t)$  satisfying the initial condition $\bx_{\bal}(0)=\bp$, and that solution depends differentiably (of class~$C^k$) on $t$, $\bp$ and $\bal$.
 
-\textbf{Stirling's formula:} 
+\textbf{Stirling's formula:}  
 \begin{equation}
 \Gamma(z)\sim e^{-z}z^{z-1/2}\sqrt{2\pi}\bigg[1+\frac{1}{12z}+\frac{1}{288z^2}-\frac{139}{51840z^3}+\ldots\bigg],\quad z\to\infty \text{ in $|\arg z|<\pi$}.
 \end{equation}
@@ -231,7 +244,7 @@
 $z_3$,
 $z_4$ in  $\mathbb{C}$, define  the B\'ezier
 curve with control points $z_1$, $z_2$, $z_3$, $z_4$ by
-\[z(t)\coloneqq(1-t)^3z_1+3(1-t)^2tz_2+3(1-t)t^2z_3+t^3z_4,\qquad 0\le t\le 1.\]
+\[z(t)\coloneq(1-t)^3z_1+3(1-t)^2tz_2+3(1-t)t^2z_3+t^3z_4,\qquad 0\le t\le 1.\]
 Because $(1-t)^3+3(1-t)^2t+3(1-t)t^2+t^3=(1-t+t)^3=1$
 and all summands are positive for $0\le t\le1$, $z(t)$
 is a convex combination of the four points~$z_k$, hence

Modified: trunk/Master/texmf-dist/fonts/tfm/public/notomath/notobmia.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/notomath/notomia.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/notomath/notosansbmia.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/notomath/notosansmia.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/notomath/notobmia.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/notomath/notomia.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/notomath/notosansbmia.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/notomath/notosansmia.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/notomath/notomath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/notomath/notomath.sty	2023-08-21 23:43:31 UTC (rev 68013)
+++ trunk/Master/texmf-dist/tex/latex/notomath/notomath.sty	2023-08-22 22:44:45 UTC (rev 68014)
@@ -1,6 +1,6 @@
 \NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.00}
-\def\filedate{2020/08/04}
+\def\fileversion{1.03}
+\def\filedate{2023/08/21}
 \ProvidesPackage{notomath}
     [\filedate\space v\fileversion.\space (Michael Sharpe)  Supports Noto text and math fonts for LaTeX usage.]
 
@@ -16,55 +16,58 @@
 \newcommand*{\NotoMath at scale}{1}
 \newcommand*{\NotoText at scale}{1}
 \newif\ifnoto at sfdefault \noto at sfdefaultfalse
-\newif\ifnoto at pf \noto at pffalse
-\newif\ifnoto at osf \noto at osffalse
+%\newif\ifnoto at pf \noto at pffalse
+%\newif\ifnoto at osf \noto at osffalse
 %\newcommand*{\NotoSerifMono at scale}{1}
+\newcommand{\noto at MO}[1]{\PassOptionsToPackage{#1}{newtxmath}}% pass math option
+\newcommand{\noto at TO}[1]{\PassOptionsToPackage{#1}{noto-serif}\PassOptionsToPackage{#1}{noto-sans}
+}% pass text option to each possible text font
+\newcommand{\noto at TTO}[1]{\PassOptionsToPackage{#1}{noto-mono}}
+\noto at TTO{type1}
 \DeclareOptionX{scaled}{\renewcommand*{\NotoMath at scale}{#1}}
 \DeclareOptionX{scale}{\renewcommand*{\NotoMath at scale}{#1}}
 
-\edef\noto at mopt{noto}
-
 \newif\ifnotomath at mono \notomath at monofalse
 
-\DeclareOptionX{sfdefault}{\edef\noto at mopt{notosans}\noto at sfdefaulttrue}
-\DeclareOptionX{proportional}{\noto at pftrue}
-\DeclareOptionX{pf}{\noto at pftrue}
-\DeclareOptionX{oldstyle}{\noto at osftrue}
-\DeclareOptionX{osf}{\noto at osftrue}
+\DeclareOptionX{sfdefault}{\noto at sfdefaulttrue}
+\DeclareOptionX{proportional}{\noto at TO{pf}}
+\DeclareOptionX{pf}{\noto at TO{pf}}
+\DeclareOptionX{oldstyle}{\noto at TO{osf}}
+\DeclareOptionX{osf}{\noto at TO{osf}}
 \DeclareOptionX{mono}{\notomath at monotrue}
-\DeclareOptionX{varbb}{\edef\noto at mopt{\noto at mopt,varbb}}
-\DeclareOptionX{vvarbb}{\edef\noto at mopt{\noto at mopt,vvarbb}}
-\DeclareOptionX{upint}{\edef\noto at mopt{\noto at mopt,upint}}
-\DeclareOptionX{noamssymbols}{\edef\noto at mopt{\noto at mopt,noamssymbols}}
-\DeclareOptionX{slantedGreek}{\edef\noto at mopt{\noto at mopt,slantedGreek}}
-\DeclareOptionX{frenchmath}{\edef\noto at mopt{\noto at mopt,frenchmath}}
-\DeclareOptionX{nosymbolsc}{\edef\noto at mopt{\noto at mopt,nosymbolsc}}
-\DeclareOptionX{subscriptcorrection}{\edef\noto at mopt{\noto at mopt,subscriptcorrection}}
-\DeclareOptionX{timesmathacc}{\edef\noto at mopt{\noto at mopt,timesmathacc}}
-\DeclareOptionX{uprightscript}{\edef\noto at mopt{\noto at mopt,uprightscript}}
-\DeclareOptionX{smallerops}{\edef\noto at mopt{\noto at mopt,smallerops}}
-\DeclareOptionX{useBImacros}{\edef\noto at mopt{\noto at mopt,useBImacros}}
-\DeclareOptionX{noOT1}{\edef\noto at mopt{\noto at mopt,noOT1}}
+\DeclareOptionX{varbb}{\noto at MO{varbb}}
+\DeclareOptionX{vvarbb}{\noto at MO{vvarbb}}
+\DeclareOptionX{upint}{\noto at MO{upint}}
+\DeclareOptionX{noamssymbols}{\noto at MO{noamssymbols}}
+\DeclareOptionX{slantedGreek}{\noto at MO{slantedGreek}}
+\DeclareOptionX{frenchmath}{\noto at MO{frenchmath}}
+\DeclareOptionX{nosymbolsc}{\noto at MO{nosymbolsc}}
+\DeclareOptionX{subscriptcorrection}{\noto at MO{subscriptcorrection}}
+\DeclareOptionX{timesmathacc}{\noto at MO{timesmathacc}}
+\DeclareOptionX{uprightscript}{\noto at MO{uprightscript}}
+\DeclareOptionX{smallerops}{\noto at MO{smallerops}}
+\DeclareOptionX{useBImacros}{\noto at MO{useBImacros}}
+\DeclareOptionX{noOT1}{\noto at MO{noOT1}}
 
 \ProcessOptionsX\relax
-\edef\noto at mopt{scale=\NotoMath at scale,\noto at mopt}
-%\show\noto at mopt
+
+\ifnoto at sfdefault{\noto at MO{notosans}\else\noto at MO{noto}\fi
+%\edef\noto at mopt{scale=\NotoMath at scale,\noto at mopt}
 \newdimen\notomath at dima
 % use the scale for math to set noto text scale factors
 \notomath at dima=\NotoMath at scale\p@
 \notomath at dima=.9\notomath at dima
 \edef\NotoText at scale{\strip at pt\notomath at dima}
-%\let\NotoSans at scale\NotoText at scale
-%\let\NotoSansMono at scale\NotoSerif at scale
-\edef\nototext at opt{scale=\NotoText at scale}
-\ifnoto at pf\edef\nototext at opt{\nototext at opt,pf}\fi
-\ifnoto at osf\edef\nototext at opt{\nototext at opt,osf}\fi
-\usepackage[\nototext at opt]{noto-serif}
-\ifnoto at sfdefault\edef\nototext at opt{\nototext at opt,sfdefault}\fi
-\usepackage[\nototext at opt]{noto-sans}
-\ifnotomath at mono\usepackage[type1,scale=\NotoText at scale]{noto-mono}\fi
-%\show\noto at mopt
-\usepackage[\noto at mopt]{newtxmath}
+
+\noto at TO{scale=\NotoText at scale}
+\noto at TTO{scale=\NotoText at scale}
+\noto at MO{scale=\NotoMath at scale}
+
+\ifnotomath at mono\usepackage{noto-mono}\fi
+\usepackage{noto-serif}
+\ifnoto at sfdefault\noto at TO{sfdefault}\fi
+\usepackage{noto-sans}
+\usepackage{newtxmath}
 \def\seriesdefault{\mdseries at rm}
 \def\mdseries at rm{m}
 \def\bfseries at rm{b}



More information about the tex-live-commits mailing list.