• 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

  • 相关阅读:
    mysql 主从配置 读写分离
    interface接口
    http结构
    call_user_func函数
    pcntl_fork 进程
    数据库事务
    php 之 ob缓冲
    shell脚本
    php 守护进程
    ssdb zset
  • 原文地址:https://www.cnblogs.com/Jin-Lei-Li/p/11667849.html
Copyright © 2020-2023  润新知