mengchaoheng / SCUT_thesis

华南理工大学硕博士学位论文模板(LaTeX)。Latex templates for the thesis of South China University of Technology
GNU General Public License v3.0
306 stars 58 forks source link

figure位置的问题 #61

Closed PositiveTom closed 8 months ago

PositiveTom commented 8 months ago

figure使用htbp或者!t参数之后浮动到本章小节文字中间了,怎么强制图片在本章小节这个subsection之前

sikouhjw commented 8 months ago

图片只需要在下一个 chapter/section 前输出即可,要求 subsection 前输出是不必要的

PositiveTom commented 8 months ago

图片只需要在下一个 chapter/section 前输出即可,要求 subsection 前输出是不必要的

嗷嗷,我说错了,强制在section前输出怎么调整

sikouhjw commented 8 months ago

https://www.overleaf.com/learn/latex/Questions/How_can_I_get_my_table_or_figure_to_stay_where_they_are%2C_instead_of_going_to_the_next_page%3F

PositiveTom commented 8 months ago
image

我其实只想这一代文字塞到下一页图片的末尾即可,但是算法感觉调整不了,已经用了hbt!参数

sikouhjw commented 8 months ago

就这么没耐心看完全文吗?

Alternatively, have a look at the placeins package, where you can add \FloatBarrier before the next \section—or automate this by using the section package option, i.e. write \usepackage[section]{placeins} in your preamble.

PositiveTom commented 8 months ago

就这么没耐心看完全文吗?

Alternatively, have a look at the placeins package, where you can add \FloatBarrier before the next \section—or automate this by using the section package option, i.e. write \usepackage[section]{placeins} in your preamble.

好的好的,多谢哈,clearpage管用

sikouhjw commented 8 months ago

好的好的,多谢哈,clearpage管用

您好,您只需要用 \usepackage[section]{placeins} 即可。