![如何让文字环绕图像?](https://linux22.com/image/476846/%E5%A6%82%E4%BD%95%E8%AE%A9%E6%96%87%E5%AD%97%E7%8E%AF%E7%BB%95%E5%9B%BE%E5%83%8F%EF%BC%9F.png)
如何让文字环绕图像,如本例所示?没有限制。我可以使用任何选项
答案1
如果我理解了您的问题,您应该使用cuted
包(来自sttools
包)及其strip
环境。以下是示例:
\documentclass[twocolumn]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ebgaramond}
\usepackage[frenchb]{babel}
\usepackage{cuted, xcolor}
\usepackage{graphicx, caption, threeparttable}
\usepackage{lipsum}
\begin{document}
\lipsum[1-2]
\textsf{\color{red} Figure appelée ici : }
\begin{strip}\captionsetup{singlelinecheck = off}
\begin{measuredfigure}%[H]
\includegraphics[width = \textwidth]{Piero_di_Cosimo_1}
\caption[]{The Death of Procris (ca 1500)}
\end{measuredfigure}
\end{strip}
\lipsum[3-5]
\end{document}