Latex插图和插入表格代码模板

表格

\begin{table}[H]
\centering
\caption{}
\begin{tabular}{| c | c | c | c | c | c |}
\hline
\diagbox{Place}{subindex} & $SO_{2}$ & $NO_{2}$ & $PM_{10}$ & \textbf{API} &  \textbf{comprehensive evaluation} \\
\hline
A & 30 & 30 & 30 & 30 & 30\\
B & 30 & 15 & 15 & 30 & 20\\
\hline
\end{tabular}
\end{table}

效果如下:

图片

\begin{figure}[H]%[!hptb] !h意思是忽略美学标准,将照片固定到此位置;不会上下浮动% 支持格式eps, pdf, png, jpg
\centering %使得插入的照片居中显示
\includegraphics[width=0.8\textwidth, height=0.4\textheight]{./Pic/theairpollutionofxian.png}
% 图片标题
\caption{The factors of air pollution in Xi'an}
\label{fig:5}       % 给图片一个标签便于交叉引用
\end{figure}


版权声明:本文为qq_27848507原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。