我正在尝试创建一个协议,并且我认为该文章是一个很好的合适的文档类。
当我尝试将图像包装在文本左侧时,出现了问题。我使用:
\begin{wrapfigure}{L}{0.05\textwidth}
\includegraphics[width=0.05\textwidth]{question.png}
\end{wrapfigure}
我想把这个小图像放在我提出的问题附近:“哪些补充途径......”
当我编译文件时,我收到两条消息:“段落中的 \hbox 未满(不良程度 10000)”和“在冲突环境中使用了包装图”。因此,我猜测是文章具有两个不同的边距,从而造成了此冲突。 例如,当我将文档类别更改为 letter 时,边距会变宽,但标题和漂亮的格式会丢失。有人知道如何在文章格式中正确使用换行吗?
我读到错误“段落中 \hbox 未满(不良率 10000)”是由于错误使用“\\”而导致的,因此我停止使用它们。但问题仍然存在,我不知道该怎么做才能消除它。
任何帮助将非常感激 :)
我的代码如下:
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel} % force American English hyphenation patterns
\usepackage[a4paper]{geometry}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{microtype}
\hyphenpenalty=10000
\title{\LARGE {\textbf{Hemolytic Assay}} \\ Comples of rabbit ef the on
proteder of the supernatant of the samplethe supernatant of the sample IgG)}
\author{}
\date{February 21st and 22nd, 2019}
\begin{document}
\maketitle
\begin{abstract}
to red. Thereby the complement activity correlates with the number of lysed
erythrocytes and thus with the intensity of the coloring. Finally the
supernatant of the sample is measured at a wavelength of 414 nm.\\
nt by professional phagn. However, the removal of the microbe represents the
end of the initiated reactions.\\
The comathway is calcium independent and is activated spontaneously.
\begin{wrapfigure}{L}{0.05\textwidth}
\includegraphics[width=0.05\textwidth]{question.png}
\end{wrapfigure}
Which complement pathways are also known besides the AP? What do they have in
common, what are the differences? What are the functions of complement?
Regulation ofH which acts onator surfacFactor H and inhibits AP
amplification.
The practicgulators out of ntion occurs.
\end{abstract}
%\section{Tasks:}
\end{document}
答案1
这就是想要的吗
\documentclass{article}
\usepackage{lipsum,mwe} %<--- not needed. Just for dummy text an image
\usepackage{wrapfig,graphicx}
\begin{document}
\section{section}
\lipsum[1]
\begin{wrapfigure}{L}{0.05\textwidth}
\includegraphics[width=0.05\textwidth]{example-image-a}
\end{wrapfigure}
\lipsum[1]
\end{document}