diff options
| author | 2026-11-08 06:02:38 +0000 | |
|---|---|---|
| committer | 2026-11-08 06:26:07 +0000 | |
| commit | 6ecea40c849effd171c1d27c961f5c1ee100481f (patch) | |
| tree | 99a92dafddf7d2ef0e318d927ae70c3b642e4171 /doc/gost/gost-7-32-captions.sty | |
| download | lab-03-6ecea40c849effd171c1d27c961f5c1ee100481f.tar.gz | |
Diffstat (limited to 'doc/gost/gost-7-32-captions.sty')
| -rw-r--r-- | doc/gost/gost-7-32-captions.sty | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/gost/gost-7-32-captions.sty b/doc/gost/gost-7-32-captions.sty new file mode 100644 index 0000000..43447d5 --- /dev/null +++ b/doc/gost/gost-7-32-captions.sty | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | \ProvidesPackage{gost-7-32-captions}[2022/01/28 GOST 7.32-2017] | ||
| 2 | |||
| 3 | \RequirePackage{caption} | ||
| 4 | \RequirePackage{subcaption} | ||
| 5 | |||
| 6 | % | ||
| 7 | % Table caption aligned to the left with dash as a separator | ||
| 8 | % | ||
| 9 | \captionsetup[table]{labelsep=endash, justification=centering, singlelinecheck=off} | ||
| 10 | |||
| 11 | % | ||
| 12 | % Dash as separator in figure caption and centering | ||
| 13 | % | ||
| 14 | \captionsetup[figure]{labelsep=endash, justification=centering} | ||
| 15 | |||
| 16 | % | ||
| 17 | % Listing caption | ||
| 18 | % | ||
| 19 | \captionsetup[listing]{labelsep=endash, skip=-0.5em, singlelinecheck=off, position=above} | ||
| 20 | |||
| 21 | \addto\captionsrussian{\renewcommand{\figurename}{Рис.}} | ||
| 22 | % \addto\captionsrussian{\renewcommand{\mintedname}{Рис.}} | ||
| 23 | \addto\captionsrussian{\captionsetup[listing]{name=Рис.}} | ||
