font weight issue with beamer and the newtxtt package

Vincent Lefevre vincent at vinc17.net
Fri Feb 18 16:54:51 CET 2022


Consider the following

\documentclass{beamer}
\usepackage{newtxtt}
\beamertemplatenavigationsymbolsempty
\newcommand{\tst}{$2^{e_{\textnormal{min}}}$}
\begin{document}
\tst \\
\begin{footnotesize}\tst\end{footnotesize}
\end{document}

The newtxtt package makes the second "min" bolder than the first one.
So this looks incorrect.

Moreover, this package is described as follows:
"Enhancement of typewriter fonts from newtx".

But "min" is not in a typewriter font, thus should not be affected
by this package.

I've attached
  * newtxtt-1.pdf - result without \usepackage{newtxtt} (correct)
  * newtxtt-2.pdf - result with \usepackage{newtxtt}

Is this a bug in beamer or newtxtt?

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newtxtt-1.pdf
Type: application/pdf
Size: 30743 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-live/attachments/20220218/8c5123e0/attachment-0002.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newtxtt-2.pdf
Type: application/pdf
Size: 24623 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-live/attachments/20220218/8c5123e0/attachment-0003.pdf>


More information about the tex-live mailing list.