
¿Qué se puede hacer para deshacerse de estas dos advertencias sobre la forma de la fuente?
Forma de fuente `LGR/ntxtlf/m/n' indefinida
Forma de fuente `LGR/ntxtlf/m/it' indefinida
Respuesta1
Puedo reproducir las advertencias con
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[greek,english]{babel}
\usepackage{newtxtext}
\begin{document}
xyz \textgreek{αβγ}
\textit{xyz \textgreek{αβγ}}
\end{document}
La terminal mostrará
LaTeX Font Warning: Font shape `LGR/ntxtlf/m/n' undefined
(Font) using `LGR/cmr/m/n' instead on input line 4.
LaTeX Font Warning: Font shape `LGR/ntxtlf/m/it' undefined
(Font) using `LGR/ntxtlf/m/n' instead on input line 11.
porque NewTX no tiene soporte para griego. Puede sustituir una fuente basada en Times por la codificación LGR (griega).
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[greek,english]{babel}
\usepackage{newtxtext}
\DeclareFontFamilySubstitution{LGR}{ntxtlf}{Tempora-TLF}
\begin{document}
xyz \textgreek{αβγ}
\textit{xyz \textgreek{αβγ}}
\end{document}
Alternativamente, use Tempora directamente.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[greek,english]{babel}
\usepackage{tempora}
\begin{document}
xyz \textgreek{αβγ}
\textit{xyz \textgreek{αβγ}}
\end{document}
Si necesitas matemáticas, aún puedes cargar newtxmath
después tempora
.
Respuesta2
No has proporcionado ningún ejemplo ni mostrado el mensaje completo.
Podrías haber mostrado un ejemplo como
\documentclass{article}
\usepackage[LGR]{fontenc}
\usepackage{newtx}
\begin{document}
x
\end{document}
que produce
LaTeX Font Warning: Font shape `LGR/ntxtlf/m/n' undefined
(Font) using `LGR/cmr/m/n' instead on input line 6.
Decirle que el clon newtx Times Roman no tiene configurada la codificación LGR griega y que el látex está usando una computadora LGR moderna.
Lo que haga entonces es su elección, no puede usar griego o no usar fuentes newtx, o puede ignorar la advertencia y aceptar la sustitución ofrecida que usará fuentes newtx cuando pueda y usará griego moderno de computadora.