From a006631d63b1661c7258e23e03d4d90f60afd9da Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 14 Mar 2020 16:14:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=BF=D0=B8=D1=81=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xespdcap.sty | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/xespdcap.sty b/xespdcap.sty index 6d9fa88..5be654f 100644 --- a/xespdcap.sty +++ b/xespdcap.sty @@ -23,11 +23,15 @@ \ProvidesPackage{xespdcap}[2020/03/20 v1.00 Captions] \RequirePackage{caption} -\DeclareCaptionLabelSeparator{dash}{ -- } +\DeclareCaptionLabelSeparator{endash}{ \textendash{}\ } +\DeclareCaptionLabelSeparator{dot}{.\ } \captionsetup[table]{% -labelsep=dash,justification=raggedright,singlelinecheck=false,% -aboveskip=3mm,belowskip=0mm} +labelsep=endash,justification=raggedright,singlelinecheck=false,% +aboveskip=0mm,belowskip=0mm} \captionsetup[figure]{% -labelsep=dash,justification=centering,singlelinecheck=false,% -aboveskip=0mm,belowskip=3mm} +labelsep=endash,justification=centering,singlelinecheck=false,% +aboveskip=4mm,belowskip=0mm} +\captionsetup[longtable]{% +labelsep=endash,justification=raggedright,singlelinecheck=false,% +aboveskip=0mm,belowskip=0mm}