1

I have a list which has some text that describes the list and an image that gets in between of those:

enter image description here

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?

1
  • Try inserting a \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.
    – Werner
    Jun 29, 2013 at 14:12

1 Answer 1

2

As the "Technische Kriterien" part is some kind of a heading, you should use some heading-like command that is automatically kept together with the following text. You could try something like

\begin{figure}
…
\end{figure}

\paragraph{Technische Kriterien}
\begin{itemize}
    \item …
    \item …
    \item …
    \item …
\end{itemize}
2
  • And what should I do if it is not some kind of heading? Aug 17, 2014 at 21:37
  • @moose In this case you could try the solution that Werner gave in his comment to your question. I haven't checked, if that one works, but from Werner's experience I guess it should. ;-) Aug 21, 2014 at 7:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .