From 2a3046690e03e013cb29f186e46aadac7c018a21 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Wed, 23 Apr 2025 12:27:03 +0200 Subject: [PATCH] Smaller margins around captions --- config_extra.tex | 7 +++---- setup.org | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/config_extra.tex b/config_extra.tex index d185869..1d74448 100644 --- a/config_extra.tex +++ b/config_extra.tex @@ -7,10 +7,9 @@ \usepackage{subcaption} \captionsetup{subrefformat=simple} -\captionsetup[figure]{labelfont=bf} -\captionsetup[subfigure]{labelfont=bf} -\captionsetup[listing]{labelfont=bf} -\captionsetup[table]{labelfont=bf} +\captionsetup{labelfont=bf, skip=0pt} + +\AtBeginEnvironment{minipage}{\captionsetup{skip=6pt}} \usepackage[olditem,oldenum]{paralist} diff --git a/setup.org b/setup.org index a314184..f667ef6 100644 --- a/setup.org +++ b/setup.org @@ -86,10 +86,9 @@ Use these with the proper bracket in order to ensure that they scale automatical \usepackage{subcaption} \captionsetup{subrefformat=simple} -\captionsetup[figure]{labelfont=bf} -\captionsetup[subfigure]{labelfont=bf} -\captionsetup[listing]{labelfont=bf} -\captionsetup[table]{labelfont=bf} +\captionsetup{labelfont=bf, skip=0pt} + +\AtBeginEnvironment{minipage}{\captionsetup{skip=6pt}} #+end_src ** Lists