如何强制在前一个文本之后插入 LaTeX 中的图像,并且之后的文本仅在该图像之后显示,所以我的意思是我不想在某些随机文本中间突然出现图像.
使用“float”包,然后为你的图形使用[H]选项。
\usepackage{float}
...
\par some text
\begin{figure}[h]
\centering
\includegraphics[width=10cm,height=5cm,keepaspectratio]{images/flow- chart.jpg}
\caption{Flow chart of our text detection, tracking and motion analysis}
\end{figure}
浮点、图形和标题的 Wiki 页面 提供了图形环境的所有说明符的列表。
[h]
“将浮动元素放置在此处,即大约在源文本中出现的同一位置(但是,不完全在该位置)”,但如果您想要它准确您将其放置在文本中的位置,然后使用附加说明符 !
,“覆盖 LaTeX 用于确定“良好”浮动位置的内部参数”。我通常使用 [ht]
,因为如果编译器确定“这里”不是一个好地方,那么页面顶部就可以了。
我的黑客攻击之一 使用
~
和 \vspace
\documentclass{article}
% packages
\usepackage[margin=.5in]{geometry}
\usepackage{graphicx}
\usepackage{float}
% detailes
\author{hacker}
\title{IA-3 Important questions RES}
\begin{document}
\begin{enumerate}
\item Explain the working of open cycle OTEC with neat diagram ?
\item [$\rightarrow$] ~\vspace{-1em}
\begin{figure}[H]
\centering \includegraphics[scale=.5]{Open Cycle OTEC.png}
\caption{Schematic of the OTEC Open cycle}
\end{figure}
\begin{itemize}
\item An open-cycle OTEC uses the warm ocean surface water as working fluid. It is a non-toxic and environment friendly fluid.
\item The major components of this system consists of evaporator, low-pressure turbine coupled with electrical generator, condenser, non-condensable gas exhaust, and pumps.
\item Evaporator used in an open-cycle system is a flash evaporator in which warm sea water instantly boils or flash in the chamber that has reduced pressure than atmosphere or vacuum.
\item It results in reduced vaporization pressure of warm sea water.
\item The low-pressure vapour (steam) expands in turbine to drive a coupled electrical generator to produce electricity.
\item A portion of electricity generated is consumed in plants to run pumps and for other work, and the remaining large amount of electricity is stored as net electrical power.
\item A large turbine is required to accommodate large volumetric flow rates of low-pressure steam, which is needed to generate electrical power, and is used with other plant components in a similar manner.
\item During vapourization process in an evaporator, oxygen, nitrogen, and carbon dioxide dissolved in sea water are separated with the help of deareater and are non-condensable.
\item They are exhausted by non-condensable gas exhaust system.
\item Condenser is used to condense vapour or steam released from steam turbine is condensed by cold deep sea water and returned back to sea.
\item If a condenser is used, condensed steam (desalinated water) remains separated from cold sea water and is pumped into marine culture ponds or back into the ocean.
\item To avoid leakage of air in atmosphere and to prevent abnormal operation of plants, perfect sealing of all components and piping systems is essential.
\item The cooling water from the deep ocean which is at about 11$^\circ$, on reaching the condenser, its temperature rises to about 15$^\circ$, due to heat transfer between the progressively warmer outside water and cooling water inside the pipe.
\item The warm surface water is continuously pumped into evaporator and cycle is repeated.
\end{itemize}
\item Explain the working of anderson cycle OTEC with neat diagram ?
\item Explain the working of fuel cell with neat diagram ?
\item Explain the concept of zero energy building ?
\item Explain the pro and cons of using hydrogen as fuel.
\item Explain electrolysis process with neat diagram ?
\end{enumerate}
\end{document}