7

Here is MWE:

\documentclass{article}

\usepackage{newtxtext}

\begin{document} á \L \l \end{document}

(the á was there just for to test Unicode support). The output:

enter image description here

After commenting out the newtxtext import, I get:

enter image description here

Is there any workaround for this?

I tried to search the site for recent questions on the topic, and I found this unanswered one, but it is not quite the same problem, since there the chars are simply not rendered, and in my case they are replaced.

I'm running with the following specs:

pdfTeX 3.141592653-2.6-1.40.24 (TeX Live 2022/Debian)
kpathsea version 6.3.4
Compiled with libpng 1.6.39; using libpng 1.6.39
Compiled with zlib 1.2.13; using zlib 1.2.13
Compiled with xpdf version 4.04

1 Answers1

9

It's an apparent bug in the OT1 encoded fonts of newtxtext that lack the slash in slot 32.

Use the T1 encoding, that's better anyway (for instance, Ł and ł are precomposed).

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{newtxtext}

\begin{document}

á \L \l

\textit{á \L \l}

\textbf{á \L \l}

\end{document}

enter image description here

egreg
  • 1,121,712