有人能帮我解决这个问题吗?我试过很多方法,包括在互联网上寻找答案,但没有找到解决方案。
我想将图像放在第一段左侧的文本中。
\begin{center}
{\bf \large XXXXX}\\
\end{center}
{\begin{wrapfigure}{L}{0.3\textwidth}\centering
\includegraphics[width=0.25\textwidth]{1518604125388.JPG}
\end{wrapfigure}
aaaaaaaaaaaaaaaaaaaaa bbbbbbb cc f gggg hhhh dddd ffffffffff gggggggggg bbbbbbbbbb nnnnnnnnnnnnnn bbbbbbbbbb aaaaaaaaaaaaaaaaaaaaa bbbbbbb cc f gggg hhhh dddd ffffffffff gggggggggg bbbbbbbbbb nnnnnnnnnnnnnn bbbbbbbbbb aaaaaaaaaaaaaaaaaaaaa bbbbbbb cc f gggg hhhh dddd ffffffffff gggggggggg bbbbbbbbbb nnnnnnnnnnnnnn bbbbbbbbbb.
aaaaaaaaaaaaaaaaaaaaa bbbbbbb cc f gggg hhhh dddd ffffffffff gggggggggg bbbbbbbbbb nnnnnnnnnnnnnn bbbbbbbbbb aaaaaaaaaaaaaaaaaaaaa bbbbbbb cc f gggg hhhh dddd ffffffffff gggggggggg bbbbbbbbbb nnnnnnnnnnnnnn bbbbbbbbbb aaaaaaaaaaaaaaaaaaaaa bbbbbbb cc f gggg hhhh dddd ffffffffff gggggggggg bbbbbbbbbb nnnnnnnnnnnnnn bbbbbbbbbb.
答案1
这是一份工作wrapfig
包裹:
\documentclass{article}
\usepackage{lipsum}
\usepackage{wrapfig}
\usepackage{graphicx}
\begin{document}
\title{\textbf{The title}}
\author{The author} \date{The date}
\maketitle
\lipsum[1]
\begin{wrapfigure}{l}{0.25\textwidth}
\begin{center}
\includegraphics[width=0.23\textwidth]{example-image-10x16}
\end{center}
\caption{Birds}
\end{wrapfigure}
\lipsum[2-3]
\end{document}