Document Classes ⇒ latex font warning
latex font warning
\usepackage{type1cm}
but I still get these latex font warnings:
LateX Font Warning: Font shape 'OT1/cmss/m/it' in size <10> not available
...
Is there something else I'm supposed to do, in order for latex to generate the
missing font shapes/sizes?
Thanks
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
latex font warning
Code: Select all
\usepackage[T1]{fontenc}
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
latex font warning
the computer modern sans serif font is not available in italic shape, use slanted shape instead. That means use \textsl instead of \textit and use \slshape instead of \itshape when you are using cmss (\sffamily) with OT1 encoding.xyz wrote:LateX Font Warning: Font shape 'OT1/cmss/m/it' in size <10> not available
This just to clarify, because I recommend to use the T1 encoding the way Thorsten wrote above. With T1 you are able to switch to italic with cmss.
Perhaps you want to try Latin Modern alternatively, they are derived from the Computer Modern fonts. Then write \usepackage{lmodern} together with T1 encoding.
Stefan
-
- Posts: 6
- Joined: Mon Dec 01, 2008 10:40 pm
latex font warning
Code: Select all
slides.tex:20: Font shape `T1/cmss/m/n' in size not available(Font) size substituted on input line 20. Font shape `T1/cmss/m/n' in size not available(Font) size substituted