From bca75f071153ddcaa5ceee0722e2152bacfedc78 Mon Sep 17 00:00:00 2001 From: Comrade Martin Miroslavovich Michalec Date: Sat, 25 Nov 2023 19:24:10 +0300 Subject: publish --- doc/gost/gost-7-32-captions.sty | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/gost/gost-7-32-captions.sty (limited to 'doc/gost/gost-7-32-captions.sty') diff --git a/doc/gost/gost-7-32-captions.sty b/doc/gost/gost-7-32-captions.sty new file mode 100644 index 0000000..c596de3 --- /dev/null +++ b/doc/gost/gost-7-32-captions.sty @@ -0,0 +1,16 @@ +\ProvidesPackage{gost-7-32-captions}[2022/01/28 GOST 7.32-2017] + +\RequirePackage{caption} +\RequirePackage{subcaption} + +% +% Table caption aligned to the left with dash as a separator +% +\captionsetup[table]{labelsep=endash, skip=0pt, singlelinecheck=off} + +% +% Dash as separator in figure caption and centering +% +\captionsetup[figure]{labelsep=endash, justification=centering} + +\addto\captionsrussian{\renewcommand{\figurename}{Рисунок}} -- cgit v1.3.1