zoukankan      html  css  js  c++  java
  • LaTeX怎么并排插入两张图片?

    documentclass{article}

    usepackage{geometry}%页面设置
    usepackage{graphicx}%图片设置

    usepackage{subfig}%多个子图
    usepackage{caption}%注释设置

    egin{document}

    %FIG4%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    egin{figure}[htbp]  %[htbp]中的h是浮动的意思
        centering    %居中
        
        subfloat[Lambda type] %第一张子图
        {
            egin{minipage}[t]{0.5	extwidth}
                centering          %子图居中
                includegraphics[width=0.5	extwidth]{fig_Lambda.eps}   %以行宽的0.5倍大小显示
            end{minipage}%
        }%注意这里不能回车空行,否则两张图会上下排列,而不是并排排列
        subfloat[FWM type] %第二张子图
        {
            egin{minipage}[t]{0.5	extwidth}
                centering      %子图居中
                includegraphics[width=0.5	extwidth]{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}

    运行结果如下图所示:

    2019-10-13_205145

  • 相关阅读:
    PyCharm 的使用(二)
    redis数据库
    mysql大全
    Python 模块详解及import本质
    logging模块
    redis详细配置
    千万 PV,百万PV什么意思?
    elasticsearch集群添加节点
    elasticsearch集群安全重启节点
    记一次redis-cluster的切换
  • 原文地址:https://www.cnblogs.com/Jin-Lei-Li/p/11667849.html
Copyright © 2011-2022 走看看