发布时间:2010-01-23 18:18:01
文章类别:插图技巧
原文地址:http://blog.sina.com.cn/s/blog_5e16f1770100gzgz.html
QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载
在我们的输入中,我们常常发现图形无法控制,经常浮动。如下我们来看看如何创建不浮动的图形。
不浮动的图形
\includegraphics{file.eps}
\makeatletter\def\@captype{figure}\makeatother
\caption{This is the caption}在导言区中定义下面的命令会更加方便。\makeatletter
\newcommand\figcaption{\def\@captype{figure}\caption}
\newcommand\tabcaption{\def\@captype{table}\caption}
\makeatother这样在正文中无论是否在图形环境中,都可用This is the text before the figure.
\\[\intextsep]
\begin{minipage}{\textwidth}
\centering
\includegraphics[width=2in]{graphic.eps}%
\figcaption{This is a non-floating figure}
\label{fig:non:float}
\end{minipage}
\\[\intextsep]
This is the text after the figure.可得到一幅不浮动的图形。对于不浮动的图形,需要注意下面几点:
|


发表评论 取消回复