The document compiles fine, and the PDF output appears to be okay.LaTeX Font Warning: Font shape `U/stmry/b/n' undefined
(Font) using `U/stmry/m/n' instead on input line 15.
...
LaTeX Font Warning: Font shape `T1/lmr/bx/sc' undefined
(Font) using `T1/lmr/bx/n' instead on input line 18.
...
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
I was able to isolate some parts which gives the warnings and created a MWE to show the "problem" (I'm not even sure this is really a problem). Take note there's a dummy_picture in there, and I don't know how to create a compilable MWE with a pict, so I turned OFF the
includegraphics
directive :Code: Select all
\documentclass[12pt,letterpaper,twoside]{book}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{upgreek}
\usepackage{stmaryrd}
\usepackage{graphicx}
\usepackage{subfig}
\captionsetup{margin=1cm,format=hang,font=small,format=plain,labelfont={bf,up},textfont={it}}
\begin{document}
\chapter{Test}
Font substitution here : $\boldsymbol{\upomega}$
\begin{figure}
%\includegraphics[height=5cm]{dummy_picture}
\caption[Inversion spatiale]{Inversion spatiale.} % Font substitution here ?
\end{figure}
\end{document}