diff options
| author | 2026-11-11 22:28:13 +0000 | |
|---|---|---|
| committer | 2026-11-11 22:47:34 +0000 | |
| commit | cb070b2d3f2b6e241e3be1b7e0eeb90fc755255f (patch) | |
| tree | c7d90c0abe9533c87d51b5196871846855efa1ba /doc/diploma/gost/gost-7-32-lists.sty | |
| download | thesis-cb070b2d3f2b6e241e3be1b7e0eeb90fc755255f.tar.gz | |
Diffstat (limited to 'doc/diploma/gost/gost-7-32-lists.sty')
| -rw-r--r-- | doc/diploma/gost/gost-7-32-lists.sty | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/diploma/gost/gost-7-32-lists.sty b/doc/diploma/gost/gost-7-32-lists.sty new file mode 100644 index 0000000..3b2a47e --- /dev/null +++ b/doc/diploma/gost/gost-7-32-lists.sty | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | \ProvidesPackage{gost-7-32-lists}[2022/01/28 GOST 7.32-2017] | ||
| 2 | |||
| 3 | \RequirePackage[inline]{enumitem} | ||
| 4 | \RequirePackage{gost-7-32-counters} | ||
| 5 | |||
| 6 | \AddEnumerateCounter*{\alphRus}{\c@alphRus}{1} | ||
| 7 | |||
| 8 | %% \setlist{nosep, labelindent=\parindent} | ||
| 9 | \setlist{nosep} | ||
| 10 | |||
| 11 | \setlist[itemize, 1]{label=\textendash} | ||
| 12 | \setlist[itemize, 2]{label=\textbullet} | ||
| 13 | \setlist[itemize, 3]{label=\textbullet} | ||
| 14 | |||
| 15 | \setlist[enumerate, 2]{label=\alphRus*)} | ||
| 16 | |||
| 17 | \newlist{displayitem}{itemize*}{1} | ||
| 18 | \setlist[displayitem]{ | ||
| 19 | before={\unskip:\newline\vspace*{\itemsep}\hspace*{\dimexpr\labelindent+\leftmargin-\labelsep-\labelwidth\relax}}, | ||
| 20 | itemjoin={;\newline\vspace*{\itemsep}\hspace*{\dimexpr\labelindent+\leftmargin-\labelsep-\labelwidth\relax}}, | ||
| 21 | label={\textendash}, | ||
| 22 | after={\unskip.\endgraf\noindent}, | ||
| 23 | } | ||
