[全解析]Latex 图片Figure 设置说明 您所在的位置:网站首页 figure可数嘛 [全解析]Latex 图片Figure 设置说明

[全解析]Latex 图片Figure 设置说明

2024-07-18 05:58| 来源: 网络整理| 查看: 265

路径设置 Fig/beecy.pdf

 1  Fig表示文件夹,里面方法beecy.pdf是图片文件Fig/beecy.pdf

2 或者直接放在tex路径下直接放文件beecy.pdf,写法./beecy.pdf

\begin{figure}[!h] %是可选项 h表示的是here在这里插入,t表示的是在页面的顶部插入 \centering \includegraphics[scale=0.6]{Fig/beecy.pdf} \caption{xxx.} \label{fig:1} \end{figure}

位置控制 h当前 t顶部 b底部 !强制

e.g.,\begin{figure}[!t]表示figure的参数

hhere,此刻位置ttop,置顶bbottom,置底p浮动页,将图形放置在一只允许有浮动对象的页面上

PS:一般使用[htb]这样的组合,只用[h]是没有用的。这样组合的意思就是latex会尽量满足排在前面的浮动格式,就是h-t-b这个顺序,让排版的效果尽量好。

!h 只是试图放在当前位置。如果页面剩下的部分放不下,还是会跑到下一页的。一般页言,用 [!h] 选项经常会出现不能正确放置的问题,所以常用 [ht]、[htbp] 等。

figure*跨栏放置

\begin{figure}[htb] \centering \includegraphics[width=1\columnwidth]{./DyNet-1st.png} \caption{xxx. } \label{UW2} \end{figure}

图片宽度-高度设置

\includegraphics[width=1.0\columnwidth, height=4cm]{./img/xx-COD.pdf}

\begin{figure}[htb] \centering \includegraphics[width=1\columnwidth,height=4cm]{./DyNet-1st.png} \caption{xxx. } \label{UW2} \end{figure}



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

      专题文章
        CopyRight 2018-2019 实验室设备网 版权所有