Latex插图操作

时间:2021-10-20 14:38:44

1.竖排插入两张图

 \begin{figure}[h]  //放在当前位置
\centering
\subfigure[A given traffic flow set]{
\includegraphics[width=.2in]{image/7_IndirectBlocking.eps}} \centering
\subfigure[The time line graph]{
\includegraphics[width=.7in]{image/8_IndirectBlockingTimeGraph.eps}}
\caption{An example of indirect blocking}
\end{figure}

Latex插图操作

2.横排插入两张图

 1 \begin{figure*}[t]   //*表示可跨栏,如果不需要可去掉
2 \centering
3 \subfigure[SMART 2D 4*4]{
4 \includegraphics[width=3.3in]{figure/figure3.eps}}
5 \hfill
6 \centering
7 \subfigure[SMART 2D 6*6]{
8 \includegraphics[width=3.3in]{figure/figure4.eps}}
9 \caption{The performance of our algorithm compared with Rate Monotonic and Laxity Monotonic priority assignment algorithms on four different mesh sizes, in terms of the percentage of traffic flows deemed to be schedulable}
10 \end{figure*}

Latex插图操作

3.插入2*2图

 \begin{figure*}[t]
\centering
\subfigure[SMART 2D *]{
\includegraphics[width=.3in]{figure/figure3.eps}}
\hfill
\centering
\subfigure[SMART 2D *]{
\includegraphics[width=.3in]{figure/figure4.eps}}
\vfill
\centering
\subfigure[SMART 2D *]{
\includegraphics[width=.3in]{figure/figure5.eps}}
\hfill
\centering
\subfigure[SMART 2D *]{
\includegraphics[width=.3in]{figure/figure6.eps}} \caption{The performance of our algorithm compared with Rate Monotonic and Laxity Monotonic priority assignment algorithms on four different mesh sizes, in terms of the percentage of traffic flows deemed to be schedulable}
\end{figure*}

Latex插图操作