I have a list which has some text that describes the list and an image that gets in between of those:
The LaTeX code looks similar to this:
\begin{figure}...\end{figure}
\textbf{\textit{Technische Kriterien}}
\begin{itemize}
\item Bla bla bla...
\item Bla bla bla...
\item Bla bla bla...
\item Bla bla bla...
\item Bla bla bla...
\item Bla bla bla...
\end{itemize}
How can I prevent the image to get in between of the paragraph before the list?
I tried \FloatBarrier
as suggested in this answer, but it didn't work. Using \goodbreak
before "Technische Kriterien" without FloatBarrier
worked. With \FloatBarrier
, it didn't work.
Is this a good way to solve this problem? How should I solve this problem?
\par\nobreak
after\textbf{\textit{Technische Kriterien}}
. The problem is not so much with the float, but with the text around it, so there's no use in fiddling with\FloatBarrier
.