Нумерация разделов, подразделов, пунктов и т.п.

This commit is contained in:
Andrei Astafev 2019-04-30 11:59:42 +03:00
parent dd882865d0
commit c93b9bf9c9

View File

@ -113,9 +113,9 @@
\let\oldsection\section
\renewcommand\section{\clearpage\oldsection}
\renewcommand{\thesection}{\arabic{section}.}
\renewcommand{\thesubsection}{\thesection\arabic{subsection}.}
\renewcommand{\thesubsubsection}{\thesubsection\arabic{subsubsection}.}
\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
\renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}}
\newif\ifESPD@point@style@single
\ESPD@point@style@singlefalse
@ -155,27 +155,27 @@
\newcounter{pointIII}[subsection]
\newcounter{pointIV}[subsubsection]
\renewcommand{\thepointII}{\thesection\arabic{pointII}.}
\renewcommand{\thepointIII}{\thesubsection\arabic{pointIII}.}
\renewcommand{\thepointIV}{\thesubsubsection\arabic{pointIV}.}
\renewcommand{\thepointII}{\thesection.\arabic{pointII}}
\renewcommand{\thepointIII}{\thesubsection.\arabic{pointIII}}
\renewcommand{\thepointIV}{\thesubsubsection.\arabic{pointIV}}
\newcommand{\pointII}{%
\par\refstepcounter{pointII}\thepointII\hspace{0.45em}}
\par\refstepcounter{pointII}\thepointII.\hspace{0.45em}}
\newcommand{\pointIII}{%
\par\refstepcounter{pointIII}\thepointIII\hspace{0.45em}}
\par\refstepcounter{pointIII}\thepointIII.\hspace{0.45em}}
\newcommand{\pointIV}{%
\par\refstepcounter{pointIV}\thepointIV\hspace{0.45em}}
\par\refstepcounter{pointIV}\thepointIV.\hspace{0.45em}}
\newcounter{subpointIII}[pointII]
\newcounter{subpointIV}[pointIII]
\renewcommand{\thesubpointIII}{\thepointII\arabic{subpointIII}.}
\renewcommand{\thesubpointIV}{\thepointIII\arabic{subpointIV}.}
\renewcommand{\thesubpointIII}{\thepointII.\arabic{subpointIII}}
\renewcommand{\thesubpointIV}{\thepointIII.\arabic{subpointIV}}
\newcommand{\subpointIII}{%
\par\refstepcounter{subpointIII}\thesubpointIII\hspace{0.45em}}
\par\refstepcounter{subpointIII}\thesubpointIII.\hspace{0.45em}}
\newcommand{\subpointIV}{%
\par\refstepcounter{subpointIV}\thesubpointIV\hspace{0.45em}}
\par\refstepcounter{subpointIV}\thesubpointIV.\hspace{0.45em}}