LaTeX怎么并排插入两张图片?
\documentclass{article}
\usepackage{geometry}%页面设置
\usepackage{graphicx}%图片设置
\usepackage{subfig}%多个子图
\usepackage{caption}%注释设置
\begin{document}
%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}
\end{document}
运行结果如下图所示: