summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/disser/lists.dtx
blob: ec84f5ff5d93afdca243a233036e756711ab784a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108

% \iffalse
%%% From File: lists.dtx
% \fi
%
%    \begin{macrocode}

%<*lists>
%    \end{macrocode}
%
% \subsection{Ñïèñêè}
%
% \DescribeMacro{\leftmargini}\index{Èíòåðâàëû!\verb*+\leftmargini+}
% \DescribeMacro{\leftmarginii}\index{Èíòåðâàëû!\verb*+\leftmarginii+}
% \DescribeMacro{\leftmarginiii}\index{Èíòåðâàëû!\verb*+\leftmarginiii+}
% \DescribeMacro{\leftmarginiv}\index{Èíòåðâàëû!\verb*+\leftmarginiv+}
% \DescribeMacro{\leftmarginv}\index{Èíòåðâàëû!\verb*+\leftmarginv+}
% \DescribeMacro{\leftmarginvi}\index{Èíòåðâàëû!\verb*+\leftmarginvi+}
%
% Âåëè÷èíû îòñòóïîâ îò ëåâîãî ïîëÿ îêðóæåíèÿ äî ïîëÿ ïåðå÷íÿ äëÿ ýëåìåíòîâ
% óêàçàííîãî óðîâíÿ âëîæåííîñòè.
% \paragraph{1}
%    \begin{macrocode}
\if@twocolumn
  \setlength\leftmargini {2em}
\else
  \setlength\leftmargini {2.5em}
\fi
\leftmargin  \leftmargini
%    \end{macrocode}
% \paragraph{2}
%    \begin{macrocode}
\setlength\leftmarginii  {2.2em}
%    \end{macrocode}
% \paragraph{3}
%    \begin{macrocode}
\setlength\leftmarginiii {1.87em}
%    \end{macrocode}
% \paragraph{4}
%    \begin{macrocode}
\setlength\leftmarginiv  {1.7em}
%    \end{macrocode}
% \paragraph{5 è 6}
%    \begin{macrocode}
\if@twocolumn
  \setlength\leftmarginv  {.5em}
  \setlength\leftmarginvi {.5em}
\else
  \setlength\leftmarginv  {1em}
  \setlength\leftmarginvi {1em}
\fi
%    \end{macrocode}
% Ïðîáåë ìåæäó êîíöîì áîêñà ìåòêè è òåêñòîì ïåðâîãî ýëåìåíòà
%    \begin{macrocode}
\setlength\labelsep{.5em}
%    \end{macrocode}
% Íîìèíàëüíàÿ øèðèíà áîêñà, ñîäåðæàùåãî ìåòêó.
%    \begin{macrocode}
\setlength\labelwidth{\leftmargini}
\addtolength\labelwidth{-\labelsep}
\@beginparpenalty -\@lowpenalty
\@endparpenalty   -\@lowpenalty
\@itempenalty     -\@lowpenalty

%    \end{macrocode}
%
% \subsubsection{Íóìåðîâàííûé ñïèñîê}
%
% Ôîðìàò ñ÷åò÷èêîâ.
%    \begin{macrocode}
\renewcommand\theenumi  {\arabic{enumi}}
\renewcommand\theenumii {\asbuk{enumii}}
\renewcommand\theenumiii{\roman{enumiii}}
\renewcommand\theenumiv {\Asbuk{enumiv}}
%    \end{macrocode}
%
% \DescribeMacro{\labelenumi}\index{Ìàêðîñû!\verb*+\labelenumi+}
% \DescribeMacro{\labelenumii}\index{Ìàêðîñû!\verb*+\labelenumii+}
% \DescribeMacro{\labelenumiii}\index{Ìàêðîñû!\verb*+\labelenumiii+}
% \DescribeMacro{\labelenumiv}\index{Ìàêðîñû!\verb*+\labelenumiv+}
% Ôîðìàò ìåòîê.
%    \begin{macrocode}
\newcommand\labelenumi  {\theenumi.}
\newcommand\labelenumii {\theenumii.}
\newcommand\labelenumiii{\theenumiii.}
\newcommand\labelenumiv {\theenumiv.}
%    \end{macrocode}
% Ññûëî÷íûå ïðåôèêñû.
%    \begin{macrocode}
\renewcommand\p@enumii  {\theenumi}
\renewcommand\p@enumiii {\theenumi.\theenumii}
\renewcommand\p@enumiv  {\p@enumiii.\theenumiii}
%    \end{macrocode}
%
% \subsubsection{Ìàðêèðîâàííûé ñïèñîê}
%
% \DescribeMacro{\labelitemi}\index{Ìàêðîñû!\verb*+\labelitemi+}
% \DescribeMacro{\labelitemii}\index{Ìàêðîñû!\verb*+\labelitemii+}
% \DescribeMacro{\labelitemiii}\index{Ìàêðîñû!\verb*+\labelitemiii+}
% \DescribeMacro{\labelitemiv}\index{Ìàêðîñû!\verb*+\labelitemiv+}
% Ôîðìàò ìåòîê.
%    \begin{macrocode}
\newcommand\labelitemi  {\textbullet}
\newcommand\labelitemii {\normalfont\bfseries \textendash}
\newcommand\labelitemiii{\textasteriskcentered}
\newcommand\labelitemiv {\textperiodcentered}
%</lists>
%    \end{macrocode}