尝试使用 minipage 和 wrapfig 包来让项目符号环绕图像;但是,图像本身被抛到下一页。下面的代码中有什么会导致此操作失败吗?
\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}
答案1
出于某种原因,只需在小页面中添加文本即可解决大部分问题。
\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}