blob: 80d0b907f14582539d8b0092f0fa7aacea117f4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
\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, justification=centering, singlelinecheck=off}
%
% Dash as separator in figure caption and centering
%
\captionsetup[figure]{labelsep=endash, justification=centering, position=below}
%
% Listing caption
%
\captionsetup[listing]{labelsep=endash, skip=-0.5em, singlelinecheck=off, position=below}
\addto\captionsrussian{\renewcommand{\figurename}{Рис.}}
% \addto\captionsrussian{\renewcommand{\mintedname}{Рис.}}
\addto\captionsrussian{\captionsetup[listing]{name=Рис.}}
|