又要写新的文档了,所以就慢慢把自己常用到的命令汇总上来。
图片布局不要太随意,至少要在section, subsection, subsubsection 做做分割吧~
\usepackage[section]{placeins} % Let the section can FloatBarrier \let \oldsection \section \renewcommand{\section}[2][]{ \FloatBarrier \oldsection#1{#2} } % Let the subsection can FloatBarrier \let \oldsubsection \subsection \renewcommand{\subsection}[2][]{ \FloatBarrier \oldsubsection#1{#2} } % Let the subsubsection can FloatBarrier \let \oldsubsubsection \subsubsection \renewcommand{\subsubsection}[2][]{ \FloatBarrier \oldsubsubsection#1{#2} }