mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m.internship-documentation.git
synced 2024-11-12 18:43:30 +01:00
Automatic Float barrier in (sub)section
This commit is contained in:
parent
f49badf6a5
commit
63fd43d633
1 changed files with 10 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
\usepackage{todo}
|
||||
|
||||
% Graphics
|
||||
\usepackage{placeins}
|
||||
\usepackage{xcolor}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{epstopdf}
|
||||
|
@ -52,6 +53,15 @@
|
|||
|
||||
\setlength{\parindent}{0cm}
|
||||
|
||||
%% Automatic float barriers for section and subsection
|
||||
\let\Oldsection\section
|
||||
\renewcommand{\section}{\FloatBarrier\Oldsection}
|
||||
|
||||
\let\Oldsubsection\subsection
|
||||
\renewcommand{\subsection}{\FloatBarrier\Oldsubsection}
|
||||
|
||||
%\let\Oldsubsubsection\subsubsection
|
||||
%\renewcommand{\subsubsection}{\FloatBarrier\Oldsubsubsection}
|
||||
|
||||
%%%
|
||||
%%% Shortcuts
|
||||
|
|
Loading…
Reference in a new issue