diff options
author | Karl Berry <karl@freefriends.org> | 2015-01-04 23:06:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-01-04 23:06:01 +0000 |
commit | 7f00c0580f8fed85794a60b91f4181e1be2f276b (patch) | |
tree | 326988889429f9b7db44dea6cbf7f0d983613e20 /Master/texmf-dist/source/latex/disser/counters.dtx | |
parent | d3d6df9cf5bf065e19b4311e859ceb0c815a6870 (diff) |
disser (4jan15)
git-svn-id: svn://tug.org/texlive/trunk@35960 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/disser/counters.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/disser/counters.dtx | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/disser/counters.dtx b/Master/texmf-dist/source/latex/disser/counters.dtx index 738269e2200..a429c8aed1d 100644 --- a/Master/texmf-dist/source/latex/disser/counters.dtx +++ b/Master/texmf-dist/source/latex/disser/counters.dtx @@ -60,17 +60,18 @@ % \DescribeMacro{\theparagraph}\index{Макросы!\verb*+\theparagraph+} % \DescribeMacro{\thesubparagraph}\index{Макросы!\verb*+\thesubparagraph+} % \begin{macrocode} -\renewcommand\thepart{\@Roman\c@part} -\renewcommand\thechapter{\@arabic\c@chapter} + +\renewcommand\thepart{\Roman{part}} +\renewcommand\thechapter{\arabic{chapter}} \newcommand\theappendix{\Asbuk{chapter}} \renewcommand\thesection{% \ifnum\c@chapter > \z@ - \thechapter.\@arabic\c@section% -\else\@arabic\c@section\fi} -\renewcommand\thesubsection{\thesection.\@arabic\c@subsection} -\renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection} -\renewcommand\theparagraph{\@arabic\c@paragraph} -\renewcommand\thesubparagraph{\theparagraph.\@arabic\c@subparagraph} + \thechapter.\arabic{section}% +\else\arabic{section}\fi} +\renewcommand\thesubsection{\thesection.\arabic{subsection}} +\renewcommand\thesubsubsection{\thesubsection.\arabic{subsubsection}} +\renewcommand\theparagraph{\arabic{paragraph}} +\renewcommand\thesubparagraph{\theparagraph.\arabic{subparagraph}} % \end{macrocode} % Формат нумерации разделов документа в оглавлении. |