Latex 图片 表格 公式

未完(更新中)

图片:

不要依懒于特定的位置,图片可能会自动调整位置以使得整个版面整齐。因此在使用中不要使用如“ 这幅图...” 或“ 下面的图形...” 等短语要求所指的图形需在固定位置。而尽量使用图形的编号,如“ 图5...”。 

基本的使用格式:

在包含宏包处添加: /usepackage{graphicx}

\begin{figure}[htbp]

\centering

\includegraphics[height=6cm,width=6.5cm]{graph.eps}

\caption{This is an inserted EPS graphic} \label{fig:graph}

\end{figure}

其中[htbp]就是浮动格式

“h 当前位置。将图形放置在正文文本中给出该图形环境的地方。如果本页所剩的页面不够,这一参数将不起作用。

t 顶部。将图形放置在页面的顶部。

b 底部。将图形放置在页面的底部。

p 浮动页。将图形放置在一只允许有浮动对象的页面上。”

扩展使用:

使用边框:

\usepackage{float}
\floatstyle{boxed} 
\restylefloat{figure}
控制文字环绕位置:

文字右侧:
\usepackage{sidecap}
\begin{SCfigure}
文字环绕:
\usepackage{wrapfig}	
\begin{wrapfigure}[lineheight]{alignment}{width}
包含子图(并列显示):
\usepackage{subcaption}
\begin{figure}
        \centering
        \begin{subfigure}[b]{0.3\textwidth}
        \end{subfigure}%
        ~ %add desired spacing between images, e. g. ~, \quad, \qquad etc. 
          %(or a blank line to force the subfigure onto a new line)
        \begin{subfigure}[b]{0.3\textwidth}
        \end{subfigure}
        ~ %add desired spacing between images, e. g. ~, \quad, \qquad etc. 
          %(or a blank line to force the subfigure onto a new line)
        \caption{Pictures of animals}\label{fig:animals}
\end{figure}

Reference:

http://blog.renren.com/share/230039275/6286294913

http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值