[silence] font shape warnung unterdrücken
Verfasst: Di 9. Feb 2016, 21:08
Ich versuche Warnungen dieser Art zu unterdrücken.
Produziert durch dieses Beispiel:
Wird aber nicht gefiltert. Verstehe nicht wieso.
Package hyphenat Warning: ******************************* (hyphenat) * You have used the htt option. (hyphenat) * You are likely to get many Font Warning messages. (hyphenat) * These can usually be ignored. (hyphenat) *******************************. ) (./sil.aux) (/usr/local/texlive/2015/texmf-dist/tex/latex/tipa/t3cmr.fd) (/usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1lmtt.fd) LaTeX Font Warning: Font shape `EU1/lmtt/b/it' in size <10> not available (Font) Font shape `EU1/lmtt/b/sl' tried instead on input line 8. LaTeX Font Warning: Font shape `EU1/lmtt/b/sc' undefined (Font) using `EU1/lmtt/b/n' instead on input line 8.
\RequirePackage[immediate]{silence}
\WarningFilter{fontspec}{Font}
\WarningFilter{latex}{Font}
\WarningFilter{xelatex}{Font}
\documentclass{article}
\usepackage{xltxtra}
\usepackage[htt]{hyphenat} % hyphenation in \texttt
\begin{document}
\hspace*{0.8\textwidth}\texttt{Donauschifffahrtsgesellschaft}
\end{document}