On Mon, Feb 19, 2024 at 08:56:40PM +0900, Akira Yokosawa wrote:
> Recently, newtxtext's behavior of sans-serif font setting has become
> unstable and the option helvratio stopped working as of newtxtext
> v1.738.
>
> As a workaround, load tgheros.sty provided by the tex-gyre package
> before loading newtxtext with the same scaling facter which works
> with previous versions of newtxtext.
>
> Do similar changes in pstricks figures under SMPdesign/ which use
> sans-serif font only.
>
> Note:
> newtxtext's main feature is to provide improved Times Roman clone based
> on TeX Gyre Termes. The author of newtxtext doesn't pay much attention
> on sans-serif font behavior, it seems, and has made v1.738 and later
> respect default sans-serif font at the time of loading newtxtext.sty.
>
> Changelog in newtx's README [1] reads:
>
> Changes in version 1.738
> 1. Documentation updated for newtx.sty usage.
> 2. Modified newtx.sty and newtxtext.sty to ensure that default effects
> of \mathsf and \mathtt are the same in both cases, and to ensure that
> in both, the prior loading of a sf or tt text font would result in
> those being used for \mathsf, \mathtt without any further interventions.
>
> Link: [1] https://mirrors.ctan.org/fonts/newtx/README
> Signed-off-by: Akira Yokosawa <[email protected]>
Queued, thank you very much!
Some of these packages do seem to take some keeping up with, and thank
you for doing that.
Thanx, Paul
> ---
> SMPdesign/DiningPhilosopher4part-b.tex | 2 +-
> SMPdesign/DiningPhilosopher5.tex | 2 +-
> SMPdesign/DiningPhilosopher5PEM.tex | 2 +-
> SMPdesign/DiningPhilosopher5TB.tex | 2 +-
> perfbook-lt.tex | 1 +
> 5 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/SMPdesign/DiningPhilosopher4part-b.tex
> b/SMPdesign/DiningPhilosopher4part-b.tex
> index 2d1c307e..c004aa14 100644
> --- a/SMPdesign/DiningPhilosopher4part-b.tex
> +++ b/SMPdesign/DiningPhilosopher4part-b.tex
> @@ -5,7 +5,7 @@
> \usepackage{pst-eps}
> \usepackage{multido}
> \usepackage{calc}
> -\usepackage[helvratio=0.9]{newtxtext}
> +\usepackage[scale=0.9]{tgheros}
> \renewcommand{\familydefault}{\sfdefault}
>
> \begin{document}
> diff --git a/SMPdesign/DiningPhilosopher5.tex
> b/SMPdesign/DiningPhilosopher5.tex
> index a892f11b..9b471f70 100644
> --- a/SMPdesign/DiningPhilosopher5.tex
> +++ b/SMPdesign/DiningPhilosopher5.tex
> @@ -5,7 +5,7 @@
> \usepackage{pst-eps}
> \usepackage{multido}
> \usepackage{calc}
> -\usepackage[helvratio=0.9]{newtxtext}
> +\usepackage[scale=0.9]{tgheros}
> \renewcommand{\familydefault}{\sfdefault}
>
> \begin{document}
> diff --git a/SMPdesign/DiningPhilosopher5PEM.tex
> b/SMPdesign/DiningPhilosopher5PEM.tex
> index 55db3773..4c77f482 100644
> --- a/SMPdesign/DiningPhilosopher5PEM.tex
> +++ b/SMPdesign/DiningPhilosopher5PEM.tex
> @@ -5,7 +5,7 @@
> \usepackage{pst-eps}
> \usepackage{multido}
> \usepackage{calc}
> -\usepackage[helvratio=0.9]{newtxtext}
> +\usepackage[scale=0.9]{tgheros}
> \renewcommand{\familydefault}{\sfdefault}
>
> \begin{document}
> diff --git a/SMPdesign/DiningPhilosopher5TB.tex
> b/SMPdesign/DiningPhilosopher5TB.tex
> index c2015991..259d0f0f 100644
> --- a/SMPdesign/DiningPhilosopher5TB.tex
> +++ b/SMPdesign/DiningPhilosopher5TB.tex
> @@ -5,7 +5,7 @@
> \usepackage{pst-eps}
> \usepackage{multido}
> \usepackage{calc}
> -\usepackage[helvratio=0.9]{newtxtext}
> +\usepackage[scale=0.9]{tgheros}
> \renewcommand{\familydefault}{\sfdefault}
>
> \begin{document}
> diff --git a/perfbook-lt.tex b/perfbook-lt.tex
> index 7c4ad53a..fd598a56 100644
> --- a/perfbook-lt.tex
> +++ b/perfbook-lt.tex
> @@ -14,6 +14,7 @@
> % A more pleasant font
> \usepackage[full]{textcomp} % use symbols in TS1 encoding
> \usepackage{lmodern}
> +\usepackage[scale=0.9]{tgheros}
> \usepackage[T1]{fontenc} % use postscript type 1 fonts
> \usepackage[table,svgnames]{xcolor} % newtxtext v1.73 loads xcolor without
> options
> \usepackage[defaultsups,helvratio=0.9]{newtxtext} % use nice, standard fonts
> for roman
>
> base-commit: b0f4bfe76079bd952351ccd925832b161889e0ae
> --
> 2.34.1
>