mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m.internship-documentation.git
synced 2024-11-22 15:03:35 +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}
|
\usepackage{todo}
|
||||||
|
|
||||||
% Graphics
|
% Graphics
|
||||||
|
\usepackage{placeins}
|
||||||
\usepackage{xcolor}
|
\usepackage{xcolor}
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{epstopdf}
|
\usepackage{epstopdf}
|
||||||
|
@ -52,6 +53,15 @@
|
||||||
|
|
||||||
\setlength{\parindent}{0cm}
|
\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
|
%%% Shortcuts
|
||||||
|
|
Loading…
Reference in a new issue