diff options
Diffstat (limited to 'doc/gost/gost-7-32-captions.sty')
| -rw-r--r-- | doc/gost/gost-7-32-captions.sty | 16 |
1 files changed, 16 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..7dfae47 --- /dev/null +++ b/doc/gost/gost-7-32-captions.sty | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | \ProvidesPackage{gost-7-32-captions}[2022/01/28 GOST 7.32-2017] | ||
| 2 | |||
| 3 | \RequirePackage[justification=centering]{caption} | ||
| 4 | \RequirePackage{subcaption} | ||
| 5 | |||
| 6 | % | ||
| 7 | % Table caption aligned to the left with dash as a separator | ||
| 8 | % | ||
| 9 | \captionsetup[table]{labelsep=endash, skip=0pt, singlelinecheck=off} | ||
| 10 | |||
| 11 | % | ||
| 12 | % Dash as separator in figure caption and centering | ||
| 13 | % | ||
| 14 | \captionsetup[figure]{labelsep=endash, justification=centering} | ||
| 15 | |||
| 16 | \addto\captionsrussian{\renewcommand{\figurename}{Рисунок}} | ||
