% \begin{macrocode} %<*toc> % \end{macrocode} % % \subsection{Автоматически генерируемые списки (содержание, индекс и т.\,д.)} % \subsubsection{Параметры} % % Горизонтальный пробел между постоянной и переменной частями заголовков % \DescribeMacro{\@postskip} % \begin{macrocode} \def\@postskip{\hskip1em} % \end{macrocode} % Длина пробела между заполнителем и номером страницы. % \DescribeMacro{\@pnumwidth} % \begin{macrocode} \newcommand\@pnumwidth{1.55em} % \end{macrocode} % Правая граница текста. % \DescribeMacro{\@tocrmarg} % \begin{macrocode} \newcommand\@tocrmarg{2.55em} % \end{macrocode} % Расстояние между символами (точками) в заполнителе между названием и номером. % \DescribeMacro{\@dotsep} % \begin{macrocode} \newcommand\@dotsep{4.5} % \end{macrocode} % Команда для заполнения промежутка между названием и номером страницы. % \DescribeMacro{\tocfill} % \begin{macrocode} \def\tocfill#1{ \leaders\hbox{$\m@th \mkern \@dotsep mu\hbox{#1}\mkern \@dotsep mu$} } % \end{macrocode} % Вертикальный пробел между элементами предметного указателя. % \DescribeMacro{\indexspace} % \begin{macrocode} \newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax} % \end{macrocode} % Величина отступа для элементов списка литературы. % \DescribeMacro{\bibindent} % \begin{macrocode} \newdimen\bibindent \setlength\bibindent{1.5em} % \end{macrocode} % Горизонтальный пробел между различными частями элемента библиографии. % \DescribeMacro{\newblock} % \begin{macrocode} \newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em} \let\@openbib@code\@empty % \end{macrocode} % % \DescribeMacro{\tableofcontents} % \begin{macrocode} \newcommand\tableofcontents{% % \end{macrocode} % % |\contentsname| необходимо переопределять здесь, т.к. |babel| присваивает % свое значение после того, как загружен класс. % \begin{macrocode} \renewcommand\contentsname\newcontentsname \if@twocolumn \@restonecoltrue\onecolumn \else \@restonecolfalse \fi \chapter*{\contentsname% \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname} }% \thispagestyle{empty} \@starttoc{toc}% \if@restonecol\twocolumn\fi \clearpage } % \end{macrocode} % % \subsubsection{Список иллюстраций} % % \DescribeMacro{\listoffigures} % \begin{macrocode} \newcommand\listoffigures{% \if@twocolumn\@restonecoltrue\onecolumn \else\@restonecolfalse\fi % \end{macrocode} % Вместо стандартной команды |\chapter*| используется |\nchapter|, чтобы список % отображался в Содержании. % % \begin{macrocode} \nchapter{ \listfigurename \@mkboth{\MakeUppercase\listfigurename}{\MakeUppercase\listfigurename}% }% \@starttoc{lof}% \if@restonecol\twocolumn\fi } % \end{macrocode} % Формат элемента списка иллюстраций. % \begin{macrocode} \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} % \end{macrocode} % % \subsubsection{Список таблиц} % \begin{macrocode} \newcommand\listoftables{% \if@twocolumn \@restonecoltrue\onecolumn \else \@restonecolfalse \fi \nchapter{ \listtablename \@mkboth{\MakeUppercase\listtablename}{\MakeUppercase\listtablename} }% \@starttoc{lot}% \if@restonecol\twocolumn\fi } % \end{macrocode} % Формат элемента списка таблиц. % \begin{macrocode} \let\l@table\l@figure % \end{macrocode} % % \subsubsection{Библиография} % Данное окружение будет переопределено в пакете |natbib|. % \DescribeEnv{thebibliography} % \begin{macrocode} \newenvironment{thebibliography}[1]{}{} % \end{macrocode} % % \subsubsection{Предметный указатель} % \DescribeEnv{theindex} % \begin{macrocode} \newenvironment{theindex}{ \if@twocolumn\@restonecolfalse \else\@restonecoltrue\fi \columnseprule \z@ \columnsep 35\p@ \twocolumn[\@makeschapterhead{\indexname}]% \@mkboth{\MakeUppercase\indexname}{\MakeUppercase\indexname}% \thispagestyle{plain} \parindent\z@ \parskip\z@ \@plus .3\p@\relax \let\item\@idxitem% }{\if@restonecol\onecolumn\else\clearpage\fi} % \end{macrocode} % Формат элемента. % \DescribeMacro{\@idxitem} % \DescribeMacro{\subitem} % \DescribeMacro{\subsubitem} % \begin{macrocode} \newcommand\@idxitem{\par\hangindent 40\p@} \newcommand\subitem{\@idxitem \hspace*{20\p@}} \newcommand\subsubitem{\@idxitem \hspace*{30\p@}} % % \end{macrocode}