发布时间:2010-10-10 10:59:22
文章类别:插图技巧
原文地址:http://blog.sina.com.cn/s/blog_5e16f1770100lzzt.html

QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载

问题:在LaTeX中,插图单独显示在一页上,而且有相当多的空白。 可我如果改成\begin{figure}[t],就会把插图显示在文档尾部。或者会浮动到其他页面, 这是为什么呢?
所用命令:\renewcommand, \floatpagefraction, \topfraction, \bottomfraction, \textfraction.

解决方案:出现这种问题,主要是因为插图太大,超过了 \floatpagefraction参数的限制。如果你愿意在一页上有幅大图, 只放很少的文字,那么可以用:

\renewcommand\floatpagefraction{.9}
\renewcommand\topfraction{.9}
\renewcommand\bottomfraction{.9}
\renewcommand\textfraction{.1}

当然你可以根据实际情况调上述取值,但如果超过了0.95那就太离谱了。 LaTeX的缺省值只有0.5。而且前三个值应该相等, 最后那个值应为1 - \floatpagefraction。否则, 浮动对象就有可能进入底部。

选自:http://ftp.ctex.org/pub/tex/documents/texguru/homepage/tips.html

点赞(1)

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部