[tex-k] problem with Tex Live 2024 and the newtxtext font package

Michael Sharpe msharpe at ucsd.edu
Tue Apr 2 00:53:16 CEST 2024


Di Dana,

Thanks for your detailed bug report. This was my error, having moved too much code from newtxtext.sty to newtx.sty. I'll submit an update this afternoon. You may correct this immediately for TeX Live 2024 by substituting the following block for line 236 in newtxtext.sty, version 1.738:

\ifntx at helv
  \renewcommand*{\sfdefault}{qhv}
  \@tempdima=\ntx at scale\p@
  \@tempdima=\ntx at helvratio\@tempdima%
  \edef\qhv at scale{\strip at pt\@tempdima}
\fi

Best,
Michael

> On Apr 1, 2024, at 1:04 PM, Dana Nau <nau at umd.edu> wrote:
> 
> I’m writing to report a bug that occurs when I use the newtxtext font package with Tex Live 2024. I don’t know whether it’s TeX or the font package that’s responsible, so I hope it’s OK that I’m addressing this report to the maintainers of both.
> The problem is that with newtxtext and Tex Live 2024, the sans serif font is too large. This problem can be observed by compiling the following latex source in both Tex Live 2023 and Tex Live 2024, and comparing their outputs (see attached):
> \documentclass[11pt]{article}
> \usepackage{newtxtext}
> \begin{document}
> This is a test of the \textsf{sans serif typeface problem}. It looks OK in Tex Live 2023, and too big in Tex Live 2024.
> \end{document}
> In case it might matter, I’m using the following version of TeX, from the MacTeX 2024 distribution:
> This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=pdflatex)
> I’ve found two work-arounds. One is to use newtx instead of newtxtext. Unfortunately, that’s not an option for the book I’m writing, because one of my co-authors uses TeX Live 2021, which doesn’t include newtx. The other work-around is to use Tex Live 2023, in which newtxtext works fine — so that’s what I’m doing for now.
> Thanks, all of you, for all your work on LaTeX!
> Dana S. Nau, Professor Emeritus
> Dept of Computer Science, and Institute for Systems Research
> University of Maryland, College Park
> +1-301-405-2684
> http://www.cs.umd.edu/~nau
> <test-texlive-2023.pdf><test-texlive-2024.pdf>




More information about the tex-k mailing list.