diff options
| author | 2026-11-09 21:45:29 +0000 | |
|---|---|---|
| committer | 2026-11-10 04:53:46 +0000 | |
| commit | e932f4212d50dfbbf7e7601f1b217793f2a31a87 (patch) | |
| tree | 5ea72f1a5c5a02e6d2cdaf55084b599086fef1ec /doc/gost/gost-7-32-toc.sty | |
| download | lab-01-e932f4212d50dfbbf7e7601f1b217793f2a31a87.tar.gz | |
Diffstat (limited to 'doc/gost/gost-7-32-toc.sty')
| -rw-r--r-- | doc/gost/gost-7-32-toc.sty | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/gost/gost-7-32-toc.sty b/doc/gost/gost-7-32-toc.sty new file mode 100644 index 0000000..328079d --- /dev/null +++ b/doc/gost/gost-7-32-toc.sty | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | \ProvidesPackage{gost-7-32-toc}[2022/01/28 GOST 7.32-2017] | ||
| 2 | |||
| 3 | \RequirePackage{tocloft} | ||
| 4 | \RequirePackage[ | ||
| 5 | bookmarks=true, | ||
| 6 | colorlinks=true, | ||
| 7 | unicode=true, | ||
| 8 | urlcolor=black, | ||
| 9 | linkcolor=black, | ||
| 10 | anchorcolor=black, | ||
| 11 | citecolor=black, | ||
| 12 | menucolor=black, | ||
| 13 | filecolor=black, | ||
| 14 | hidelinks | ||
| 15 | ]{hyperref} | ||
| 16 | |||
| 17 | % | ||
| 18 | % Set custom font styles | ||
| 19 | % | ||
| 20 | \renewcommand{\cftsecfont}{\normalfont} | ||
| 21 | \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} | ||
| 22 | \renewcommand{\cftsecpagefont}{\normalsize} | ||
| 23 | \renewcommand{\cftaftertoctitle}{\hfill\hfill} | ||
| 24 | \renewcommand{\cfttoctitlefont}{\hfill\normalfont\large\bfseries} | ||
| 25 | \titleformat{\tableofcontents}[block]{\centering\large\bfseries}{\thesection}{0.5em}{} | ||
| 26 | \titlespacing{\tableofcontents}{0cm}{0cm}{1cm} | ||
| 27 | |||
| 28 | % | ||
| 29 | % Set indents and line spacing | ||
| 30 | % | ||
| 31 | \setlength{\cftbeforesecskip}{0cm} | ||
| 32 | \setlength{\cftbeforesubsecskip}{0cm} | ||
| 33 | \setlength{\cftbeforesubsubsecskip}{0cm} | ||
| 34 | \setlength{\cftbeforeparaskip}{0cm} | ||
