一、图片基本设置
\begin{figure}
\centering
\includegraphics[width=5.6in,height=2in]{自然处置效率图}
\caption{自然处置效率图}
\label{fig:自然处置效率图}
\end{figure}
代码解释:
- \includegraphics[width=5.6in,height=2in]:表示长宽的设置
- \caption{text}:图片下标的设置
- \label{fig:text}:图片标签的设置,该项利用引用时的参考(\ref)
结果展示:
#
二、位置的设置
三、图片并列排版
\begin{figure*}
\begin{center}
\begin{minipage}{0.45\textwidth}
\includegraphics[width=2.5in,height=2.5in]{自然处置效率图}
\caption{自然处置效率图}
\label{fig:自然处置效率图}
\end{minipage}
\begin{minipage}{0.45\textwidth}
\includegraphics[width=2.5in,height=2.5in]{联合处置效率图}
\caption{联合处置效率图}
\label{fig:联合处置效率图}
\end{minipage}
\end{center}
\end{figure*}

代码如下(示例):
本文介绍了在 LaTeX 中如何进行图片的基本设置,包括图片尺寸调整、添加标题和标签,以及如何实现图片的并列排版。通过示例代码详细阐述了图片位置的控制方法。
1万+

被折叠的 条评论
为什么被折叠?



