summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eskdx/source/eskdsect.sty.in
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/eskdx/source/eskdsect.sty.in')
-rw-r--r--Master/texmf-dist/doc/latex/eskdx/source/eskdsect.sty.in21
1 files changed, 19 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/eskdx/source/eskdsect.sty.in b/Master/texmf-dist/doc/latex/eskdx/source/eskdsect.sty.in
index 049d3936c13..18bbfe0d802 100644
--- a/Master/texmf-dist/doc/latex/eskdx/source/eskdsect.sty.in
+++ b/Master/texmf-dist/doc/latex/eskdx/source/eskdsect.sty.in
@@ -18,7 +18,7 @@ m4_ESKDX_INIT
m4_FILE_INIT
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{eskdsect}[m4_dnl
-m4_FILE_ID([[$Date: 2006/08/26 09:09:44 $]]) Sectioning]
+m4_FILE_ID([[$Date: 2006-12-16 04:15:21 +0200 (Суб, 16 Дек 2006) $]]) Sectioning]
\newcommand{\ESKD@point@style}{single}
@@ -116,10 +116,13 @@ m4_dnl ËÏÔÏÒËÉÊ ÓÐÏÓÏ ÕÓÔÁÎÏ×ËÉ ÏÔÓÔÕÐÏ×
\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
\renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}}
+\newif\ifESKD@point@style@single
+\ESKD@point@style@singlefalse
\newcommand{\ESKD@point@style@single}{
\newcounter{point}
- \renewcommand{\thepoint}{\arabic{point}}}
+ \renewcommand{\thepoint}{\arabic{point}}
+ \ESKD@point@style@singletrue}
\newcommand{\ESKD@point@style@section}{
\newcounter{point}[section]
@@ -151,6 +154,10 @@ m4_dnl ÐÒÉÌÏÖÅÎÉÑ
\newcommand{\ESKDappendix}[2]{%
\ESKDclearDoublePage%
\refstepcounter{appendix}%
+ \setcounter{point}{0}%
+ \ifESKD@point@style@single%
+ \renewcommand{\thepoint}{\theappendix.\arabic{point}}%
+ \fi
\setcounter{section}{0}%
\renewcommand{\thesection}{\theappendix.\arabic{section}}%
\setcounter{equation}{0}%
@@ -176,4 +183,14 @@ m4_dnl ÐÒÉÌÏÖÅÎÉÑ
\end{list}%
\par\nobreak\addvspace{\ESKDappendixSkip}}
+m4_dnl ÓÏÄÅÒÖÁÎÉÅ
+\renewcommand\tableofcontents{%
+ \begingroup
+ \ESKDsectAlign{section}{Center}
+ \section*{\contentsname
+ \@mkboth{%
+ \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
+ \endgroup
+ \@starttoc{toc}}
+
m4_dnl vim:ft=tex:sw=2:ai