需要帮助在背面页面上定位图像和文本

需要帮助在背面页面上定位图像和文本

介意问一下,我该如何将我的图像与图形一起放在页面的红色标记位置上,并将常规文本放在右侧!

在此处输入图片描述

我当前的代码:

    \begin{figure*}[t!]
    \centering
    \includegraphics[width=0.33\textwidth]
    {Images/Sketch_hub_verticality.png}
    \captionsetup{width=.5\linewidth}

    \rule{8em}{0.3pt}
\caption{A random text.}
\label{HubVertical}
\end{figure*}

我根本不希望左侧文字换行!

任何形式的帮助都将非常感激!

答案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}

相关内容