diff options
| author | 2026-11-11 05:31:06 +0000 | |
|---|---|---|
| committer | 2026-11-11 06:14:42 +0000 | |
| commit | 9e1d304cac5367c3dbb1ca14700736680bd3a804 (patch) | |
| tree | 31f328747acb934d365d423adfda144818ff5ad4 /doc/gost/gost-7-32-lists.sty | |
| download | lab-01-05-9e1d304cac5367c3dbb1ca14700736680bd3a804.tar.gz | |
Diffstat (limited to 'doc/gost/gost-7-32-lists.sty')
| -rw-r--r-- | doc/gost/gost-7-32-lists.sty | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/gost/gost-7-32-lists.sty b/doc/gost/gost-7-32-lists.sty new file mode 100644 index 0000000..3b2a47e --- /dev/null +++ b/doc/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 | } | ||
