I'm trying to place a figure inside a theorem. However, in the following example, the "test" text is rendered under the figure, and not above as it should be. What can I do to fix that? Minimum working example :
\documentclass[a4paper,12pt]{article}
\usepackage[francais]{babel}
\usepackage{graphicx}
\newtheorem{exercice}{Exercice}
\begin{document}
\begin{exercice}
Test
\begin{figure}
\includegraphics[width=\linewidth]{F2.pdf}
\end{figure}
\end{exercice}
\end{document}
\begin{figure}[h]\centering– Sigur Nov 19 '14 at 22:02figureenvironment for using\includegraphics, no matter how many of them you want. – egreg Nov 19 '14 at 22:18