LaTeX怎么并排插入两张图片?

%FIG4%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{figure}[htbp]  %[htbp]中的h是浮动的意思
    \centering    %居中
    
    \subfloat[Lambda type] %第一张子图
    {
        \begin{minipage}[t]{0.5\textwidth}
            \centering          %子图居中
            \includegraphics[width=0.5\textwidth]{fig_Lambda.eps}   %以行宽的0.5倍大小显示
        \end{minipage}%
    }%注意这里不能回车空行,否则两张图会上下排列,而不是并排排列
    \subfloat[FWM type] %第二张子图
    {
        \begin{minipage}[t]{0.5\textwidth}
            \centering      %子图居中
            \includegraphics[width=0.5\textwidth]{fig_FWM.eps}   %以行宽的0.5倍大小显示
        \end{minipage}
    }%
    
    \caption{Schematic diagram of a four-level tripod-type atomic system driven by three coherent laser fields.} %  %大图名称
    \label{fig1}  %图片引用标记
\end{figure}

猜你喜欢

转载自www.cnblogs.com/Jin-Lei-Li/p/11667849.html