summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/disser/counters.dtx
diff options
context:
space:
mode:
authorDr. Clea F. Rees <cfrees@imapmail.org>2008-12-03 00:28:53 +0000
committerDr. Clea F. Rees <cfrees@imapmail.org>2008-12-03 00:28:53 +0000
commit4f27dd85b17214cfe01fad1772840f3a3b9d88a1 (patch)
treeb67a43b38cb544d442042a0bda3e2ed1c63db905 /Master/texmf-dist/source/latex/disser/counters.dtx
parent9e9aecddd3e49a9bb616309887effea00fdbfdd6 (diff)
disser 1.1.0
git-svn-id: svn://tug.org/texlive/trunk@11501 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.dtx18
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/disser/counters.dtx b/Master/texmf-dist/source/latex/disser/counters.dtx
index 466cc867fb8..45f9fb514dd 100644
--- a/Master/texmf-dist/source/latex/disser/counters.dtx
+++ b/Master/texmf-dist/source/latex/disser/counters.dtx
@@ -10,6 +10,20 @@
%
% \subsection{Создание и настройка счетчиков}
%
+% Максимальный уровень вложенности секций, помещаемых в Содержание
+% (по умолчанию вносятся |\part|, |\chapter| и |\section|).
+% \DescribeMacro{tocdepth}\index{Счетчики!\verb*+tocdepth+}
+% \begin{macrocode}
+\setcounter{tocdepth}{1}
+% \end{macrocode}
+% Максимальный уровень вложенности нумеруемых секций
+% (по умолчанию нумеруются |\part|, |\chapter|, |\section| и |\subsection|).
+% \DescribeMacro{secnumdepth}\index{Счетчики!\verb*+secnumdepth+}
+% \begin{macrocode}
+\setcounter{secnumdepth}{2}
+
+% \end{macrocode}
+%
% \DescribeMacro{part}\index{Счетчики!\verb*+part+}
% \DescribeMacro{chapter}\index{Счетчики!\verb*+chapter+}
% \DescribeMacro{section}\index{Счетчики!\verb*+section+}
@@ -29,6 +43,7 @@
\newcounter{subparagraph}[paragraph]
\newcounter{figure}[chapter]
\newcounter{table}[chapter]
+
% \end{macrocode}
%
% Формат нумерации разделов документа в тексте.
@@ -87,18 +102,21 @@
% \end{macrocode}
% Формат номера формулы.
+% \DescribeMacro{\theequation}\index{Макросы!\verb*+\theequation+}
% \begin{macrocode}
\renewcommand\theequation{%
\ifnum\c@chapter > \z@\thechapter.\fi%
\@arabic\c@equation}
% \end{macrocode}
% Формат номера таблицы.
+% \DescribeMacro{\thetable}\index{Макросы!\verb*+\thetable+}
% \begin{macrocode}
\renewcommand\thetable{%
\ifnum \c@chapter>\z@\thechapter.\fi%
\@arabic\c@table}
% \end{macrocode}
% Формат номера рисунка.
+% \DescribeMacro{\thefigure}\index{Макросы!\verb*+\thefigure+}
% \begin{macrocode}
\renewcommand\thefigure{%
\ifnum \c@chapter>\z@\thechapter.\fi%