LaTex paper formatting | latex image insertion

Relevant code for inserting pictures in latex. The image files and tex files need to be placed in the same directory.

\usepackage[justification=centering]{caption}

\begin{figure}[h]
	\centering  %居中
	\includegraphics[scale=1]{Figure1} 
	%scale为图片大小的缩放比例 res3为图片名
	%设置图像的描述(会自动生成编号)
	\caption{hello}
\end{figure}

If you are drawing a picture or table across two columns, add the stfloats package in the introductory area:

\usepackage{stfloats}

Also modify \begin{figure*}[h] \end{figure*}
reference blog

Guess you like

Origin blog.csdn.net/qq_43374694/article/details/127802723