答案1
它们对我来说很好用:
\documentclass{article}
\usepackage{graphicx, wrapfig}
\usepackage{showframe}
\usepackage{lipsum}
\begin{document}
\lipsum[2]
\begin{wrapfigure}{R}{0.5\textwidth}
\vskip-\intextsep
\includegraphics[width=\linewidth]{example-image}
\vskip-\intextsep
\end{wrapfigure}
\lipsum[1]
{\intextsep=0pt
\begin{wrapfigure}{R}{0.5\textwidth}
\includegraphics[width=\linewidth]{example-image}
\end{wrapfigure}
\lipsum[1]\par}
\end{document}