如何获取右侧带有文字的图片

如何获取右侧带有文字的图片

我想要的是这样的引言:

我又转念,见日光之下,快跑的未必能赢,力战的未必能得胜,智慧的未必得粮食,聪明的未必得资财,灵巧的未必得喜悦。凡事所遭遇的,都在乎当时的机会。

然后在那句引语下面我想要一张上帝的小照片,就拿这张吧

在此处输入图片描述

我想要在上帝形象的右边引用上面那句话两个都图像和参考)

传道书 9:11

我显然可以引用文本,我可以使用包将引用放在图像的右侧sidecap,我可以使用属性将图形放置在引用下方[H]。我还可以将文本环绕在图像周围。但显然SCfigure不接受H,然后我得到了Figure. 1引用旁边的丑陋图像,如果有多个图像,则无法保证结果。自动换行也不能保证引用位于正确的图像旁边。我如何以某种有意义的方式实现这一点。

答案1

\documentclass{article}
\usepackage{csquotes}
\usepackage{graphicx}
\begin{document}
\begin{displayquote}[][]
I returned and saw under the sun, that the race is not to the swift, nor the battle to the strong, neither yet bread to the wise, nor yet riches to men of understanding, nor yet favour to men of skill; but time and chance happeneth to them all.\par
\begin{minipage}[t]{.35\textwidth}  %% or [b] ?
\includegraphics[width=\linewidth]{puk}
\end{minipage}%
\hfill
\begin{minipage}{.35\textwidth}     
-- \textit{Ecclesiastes 9:11}
\end{minipage}
\end{displayquote}
\end{document}

在此处输入图片描述

答案2

我认为除了图形包之外你不需要任何其他东西:

在此处输入图片描述

\documentclass{article}

\usepackage{graphicx}

\begin{document}

\begin{quote}
I returned and saw under the sun, that the race is not to the swift, nor the battle to the strong, neither yet bread to the wise, nor yet riches to men of understanding, nor yet favour to men of skill; but time and chance happeneth to them all.
\end{quote}
\begin{center}
\begin{tabular}{l}\includegraphics{g111}\end{tabular}%
\hspace{1em}%
\textrm{Ecclesiastes 9:11}
\end{center}
\end{document}

相关内容