当插入较长的图片或表格时,模板一般会另起一页插入这些图片或表格,导致图表前后的留白过多
一、在\begin{document}前加入这一段
%%%%%%%%%%%%%%%%%%%%%%%%防止占一页
\renewcommand\floatpagefraction{.9}
\renewcommand\topfraction{.9}
\renewcommand\bottomfraction{.9}
\renewcommand\textfraction{.1}
\setcounter{totalnumber}{50}
\setcounter{topnumber}{50}
\setounter{bottomnumber}{50}
文章介绍了如何在LaTeX文档中调整图片和表格的插入策略,通过修改floatpagefraction、 opfraction、ottomfraction和 extfraction等参数来控制页面空白,防止因内容过长导致的分页问题。
2万+

被折叠的 条评论
为什么被折叠?



