With a simple document
\documentclass{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{microtype}
\usepackage{lmodern}
\begin{document}
\chapter{Test test test}
\end{document}
the log
file spits out
Package microtype Warning: Loading generic settings for font family `lmss'.
(microtype) For optimal results, create font-specific settings.
(microtype) See the microtype manual for details.
This does not happen with the standard report
class. It seems that KOMA's scrreprt
(v3.10a) is doing something funny in the chapter-headings and I can not figure out what it is.
If someone could please point me to a solutions I'd appreciate it.
EDIT
\DeclareMicrotype...
does not change the issue
Microtype version is: 2011/08/18 v2.5
EDIT 2
\DeclareMicrotypeAlias{lmss}{cmr}
actually does work. I may have forgotten to remove my log file after adding the command and the error kept coming back.
For details see the accepted answer below
microtype
are you using? – egreg Oct 4 '12 at 15:17\DeclareMicrotypeAlias{lmss}{cmss}
(not tested by me). See tex.stackexchange.com/a/63615/627 – Lev Bishop Oct 4 '12 at 15:21\setkomafont{sectioning}{\normalfont\bfseries}
but reappears when you set something else with\textsf
(also with the standard classes) so this is not really an issue bound to KOMA. – clemens Oct 4 '12 at 16:14\normalfont
is not really an option for me. Actually I would not mind just suppressing the warning as I think it does not have much of an influence. It is just annoying having it in the log every time, – Martin H Oct 5 '12 at 8:56silence
package and add\WarningFilter{microtype}{Loading generic settings}
to your preamble. – clemens Oct 5 '12 at 9:02