From 4c7eca5804d812a8c7069cf3b81847ee958c80fc Mon Sep 17 00:00:00 2001 From: Erwan Normand Date: Mon, 30 Sep 2024 12:30:01 +0200 Subject: [PATCH] Relax floating constraints --- config/thesis_commands.tex | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/thesis_commands.tex b/config/thesis_commands.tex index 27a34e4..78c53e3 100644 --- a/config/thesis_commands.tex +++ b/config/thesis_commands.tex @@ -13,6 +13,15 @@ \singlespacing }{} +% Floatings (images and tables) : less restrictive constraints (https://robjhyndman.com/hyndsight/latex-floats/index.html) +\setcounter{topnumber}{2} +\setcounter{bottomnumber}{2} +\setcounter{totalnumber}{4} +\renewcommand{\topfraction}{0.85} +\renewcommand{\bottomfraction}{0.85} +\renewcommand{\textfraction}{0.15} +\renewcommand{\floatpagefraction}{0.7} + % Images % example: \fig[1]{filename}{Caption}[Additional caption text, not shown in the list of figures] % reference later with: \figref{filename}