1

Trying to employ the minipage and wrapfig packages to get itemized bullets to wrap around an image; however, the image is thrown to the next page by itself. Is there anything in the code below that would cause this to fail?

\begin{frame}[allowframebreaks]
\frametitle{Fathead Minnow Toxicity (FMT)} 
\begin{itemize}
  \item Important as an indicator species biological model in aquatic toxicology studies, similar to the Canary in a coal mine. 
  \begin{minipage}{\linewidth}
    \begin{wrapfigure}[t]{l}{0.3\textwidth}
       \includegraphics[width=1in,height=1.13in,keepaspectratio]{fatheadminnow}
    \end{wrapfigure}
   \end{minipage}
\end{itemize}
\end{frame}
4
  • 3
    Yes. See here why it fails and here how to make things wrap in beamer. – user121799 Sep 7 '18 at 0:50
  • 1
    is there a minipage package? or are you using the standard minipage environment? It is hard to see as you have not provided a usable example. A minipage around a wrapfig would presumably always stop the wrapfig environment working with or without the beamer class being used. – David Carlisle Sep 7 '18 at 7:08
  • The cutwin package resolved the issue. thx! – user62494 Sep 7 '18 at 15:18
  • 1
    BTW, wrapfigure does not support a [t] option. It was expecting a number there. – John Kormylo Sep 7 '18 at 15:23
1

For some reason, just adding text to the minipage fixed most of the problem.

\documentclass{beamer}
\usepackage{wrapfig}

\begin{document}
\begin{frame}[allowframebreaks]
\frametitle{Fathead Minnow Toxicity (FMT)} 
\begin{itemize}
  \item Important as an indicator species biological model in aquatic toxicology studies, similar to the Canary in a coal mine. 
  \begin{minipage}{\linewidth}
    \intextsep=0pt
    \begin{wrapfigure}{l}{0pt}
       \includegraphics[width=1in,height=1.13in,keepaspectratio]{example-image}
    \end{wrapfigure}
    test text
   \end{minipage}
\end{itemize}
\end{frame}
\end{document}

demo

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy