%20XCharter%20%2B%20roboto-light%20n%C3%A3o%20recebe%20it%C3%A1lico%20da%20Carta.png)
Conforme mostrado no MWE a seguir, com PDFLaTeX, combinar XCharter.sty com roboto.sty e selecionar a opção "light" no Roboto de alguma forma suprime o itálico da Carta.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{XCharter}
\usepackage[light]{roboto}
\begin{document}
Hello world. \textit{This should be in italics!}
\end{document}
A saída tem a segunda frase da Carta na vertical. Remover a opção "light" em roboto.sty corrige o problema (assim como compilar com LuaLaTeX)
Preferiria PDFLaTeX para velocidade (documento grande).
Obrigado - Natanael
Responder1
látex avisa você
LaTeX Font Warning: Font shape `T1/XCharter-TLF/l/n' undefined
(Font) using `T1/XCharter-TLF/m/n' instead on input line 112.
então não há forma normal do Xcharter leve, então ele está usando médio.
Então
LaTeX Font Warning: Font shape `T1/XCharter-TLF/l/it' undefined
(Font) using `T1/XCharter-TLF/l/n' instead on input line 6.
Sem itálico claro.
Ambos os pacotes são projetados para definir todas as fontes de documentos, mas acho que você deseja:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{XCharter}
\usepackage[light]{roboto}
%\showoutput
\begin{document}
\fontseries{m}\selectfont
Hello world. \textit{This should be in italics!}
{\fontseries{l}\sffamily Abc}
\end{document}