From 5ab62b91506903bb73d257399e5383b2ead13d0d Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Fri, 3 Jul 2020 00:06:16 +0200 Subject: [PATCH] Styling of captions This separates the captions from the surrounding text. --- preamble.tex | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/preamble.tex b/preamble.tex index 657ef7d3f..3751ef9e4 100644 --- a/preamble.tex +++ b/preamble.tex @@ -45,6 +45,14 @@ %\usepackage{subfig} %\newcommand{\subfigureautorefname}{\figureautorefname} +\RequirePackage[margin=1em, labelfont=bf, + singlelinecheck=true, font=sl, + compatibility=false% Unsupported feature that suppresses the incompatibility checks... + ]{caption} +\captionsetup[figure]{position=bottom} +\captionsetup[table]{position=top} +\DeclareCaptionOption{parskip}[]{}% Unclear workaround for conflict between captions, subfig, and parskip. + \usepackage{verbatim} % The fixltx2e that was used for textsubscript is no longer needed for pdf, but is needed by latexml \ifpdf