【发布时间】:2009-11-04 23:37:54
【问题描述】:
我一直在为此苦苦挣扎。我想插入一张图片,让它“靠近”讨论它的文字,但让该页面上的文字环绕/环绕图像。
我已转换为 eps 格式的图像。我最初尝试使用 figure 环境(\begin{figure}...),但这只是将图像放置在页面的顶部或底部,旁边没有任何文本,页面的很大一部分是空的。
我在网上进行了一些挖掘并确定了“wrapfig”包,这似乎是一个可能的解决方案,但我得到了一系列错误,并且图像出现在文档的末尾。
错误:
Package wrapfig Warning: wrapfigure used inside a conflicting environment on input line 297.
Package wrapfig Warning: Stationary wrapfigure forced to float on input line 303.
Package wrapfig Warning: Stationary wrapfigure forced to float on input line 306.
连续几行。
奇怪的是,有一次,在编译后,图像正好出现在我想要的位置,而下一次却没有。
[大约一分钟后添加] 我目前拥有的乳胶代码:
\begin{wrapfigure}{r}{0.2\textwidth}[h]
\begin{center}
\includegraphics[width=0.18\textwidth]{vec-perp.eps}
\end{center}
\caption{A}
\end{wrapfigure}
【问题讨论】:
标签: latex