Texto mostrado após imagem no MWE, mas não no documento real

Texto mostrado após imagem no MWE, mas não no documento real

Quero mostrar algum texto após uma imagem. Seguindo a documentação, fiz um MWE que funciona perfeitamente:

 \documentclass[notitlepage]{report}
\usepackage{graphicx}
\begin{document}


At t = 90.5, $\delta_{1} = 0.131$, $\delta_{2}=0.872$, and $x[0] = 0.139$ we notice interesting behavior for the values of $x{t}$.
\begin{figure}[ht!]
  \includegraphics[width=\linewidth, scale=0.5]{interesting.png}
  \caption{A change in sign of $\frac{dx}{dt}$}
  \label{fig: Modeled System}
\end{figure}

$\frac{dx}{dt}$ appears to undergo a sign change resulting in $x[t]$ losing value before regaining value to the point that at some point $t$, $x[t] > x[0]$
\end{document}

Então tentei em meu artigo real e consegui o seguinte:1]insira a descrição da imagem aqui

Responder1

Ao contrário do MWE, no seu documento real não há espaço suficiente na página. Caso o texto deva vir depois da imagem, coloque uma barreira para evitar que ela flutue:

 \documentclass[notitlepage]{report}
\usepackage{graphicx}

\usepackage{placeins}

\begin{document}


At t = 90.5, $\delta_{1} = 0.131$, $\delta_{2}=0.872$, and $x[0] = 0.139$ we notice interesting behavior for the values of $x{t}$.
\begin{figure}[ht!]
  \includegraphics[width=\linewidth, scale=0.5]{interesting.png}
  \caption{A change in sign of $\frac{dx}{dt}$}
  \label{fig: Modeled System}
\end{figure}

\FloatBarrier

$\frac{dx}{dt}$ appears to undergo a sign change resulting in $x[t]$ losing value before regaining value to the point that at some point $t$, $x[t] > x[0]$
\end{document}

informação relacionada