答案1
您可以安排一个较宽的左边距,以便文本向右偏移,然后将图像放在边距中。
\documentclass{article}
\setlength\oddsidemargin{6cm}
\addtolength\textwidth{-3cm}
\setlength\marginparwidth{6cm}
\reversemarginpar
\usepackage{graphicx}
\begin{document}
\raggedright
Some text here. Some text here. Some text here.%
\marginpar{\includegraphics[width=\linewidth,height=8cm]{example-image}}
Some text here. Some text here. Some text here.
Some text here. Some text here. Some text here.
Some text here. Some text here. Some text here.
Some text here. Some text here. Some text here.
Some text here. Some text here. Some text here.
\texttt{\meaning\addpenalty\ \meaning\DeclareTextCompositeCommand}
Some text here. Some text here. Some text here.%
\marginpar{\includegraphics[width=\linewidth,height=10cm]{example-image-a}}
Some text here. Some text here. Some text here.
Some text here. Some text here. Some text here.
Some text here. Some text here. Some text here.
Some text here. Some text here. Some text here.
Some text here. Some text here. Some text here.
\texttt{\meaning\addpenalty\ \meaning\DeclareTextCompositeCommand}
\end{document}