\begin{figure}[h]
\centering
\includegraphics[width=0.2\textwidth]{PAX.png}
\caption{this is a picture of ...}\label{fig:1}
\end{figure}
1.2并排插入
\begin{figure}[h]
\begin{minipage}[h]{0.5\textwidth}
\centering
\includegraphics[width=\linewidth]{PAX.png}
\caption{this is a picture of ...}\label{fig2}
\end{minipage} -----这里与下一行不能有空格,否则无法并排
\begin{minipage}[h]{0.5\textwidth}
\centering
\includegraphics[width=\linewidth]{TSA.png}
\caption{this is a picture of ...}\label{fig3}
\end{minipage}
\end{figure}
1.2引用
in figure \ref{fig:1}
//效果:in figure 1(其中1是图片在文章中的编号)
in equation \ref{eqn2}
//效果: in equation 2(2是公式在文中的编号)
3.表格
3.1插入
\begin{table}[h]
\centering
\begin{tabular}{|l|l|l|l|l|} ---这里代表表格数据对其方式
\hline -----这里代表画一条横线(\vline是画竖线)
column1 & column2 & column3 & column4 & column5 \\ ----这里表示换行
a & b & c & d & e \\
a & b & c & d & e \\
a & b & c & d & e \\
a & b & c & d & e \\
\hline
\end{tabular}
\caption{table one }\label{tb1}
\end{table}
3.2合并
合并行与列
\begin{table}
\centering
\begin{tabular}{|l|l|l|l|}
\hline
% after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
\multicolumn{2}{|l|}{content} & a & a \\ ----multicolumn中可以设置两边竖线
b& b & b& b \\
b & b & b &b \\
\hline
\end{tabular}
\caption{table 10}\label{table:10}
\end{table}