I use \textit
to italic words. Latex give me this warning.
Font shape
T1/lmr/m/scit' undefined (Font) using
T1/lmr/m/scsl'
instead. LaTeX
After I change \textit
to \textsl
. The warning is gone. The weird thing is, this warning doesn't occur before I reinstall miktex. Before I use MikTeX 2.9
, now I use MikTeX 4.0
.
But the results just fine, K italic the words.
The only problem is the warning.
Best Answer
In older LaTeX versions mixing small caps (
\scshape
,\textsc
) and italic (\itshape
,\textit
) didn't really worked. The commands cancelled each other out, you only got the one or the other:gives e.g. in texlive 2018
In newer LaTeX the font handling has been improved here. Now LaTeX tries to combine the two shapes. But lmodern has no small caps + italic shape, so LaTeX falls back to small caps + slanted:
And that is what the message is telling you: that instead of
scit
(small caps and italic) it will usescsl
(small caps and slanted). If this fine for you you can safely ignore the message.