diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/eskdx/eskdsect.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/eskdx/eskdsect.sty | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/eskdx/eskdsect.sty b/Master/texmf-dist/tex/latex/eskdx/eskdsect.sty index ea6140f92e6..50963e0475a 100644 --- a/Master/texmf-dist/tex/latex/eskdx/eskdsect.sty +++ b/Master/texmf-dist/tex/latex/eskdx/eskdsect.sty @@ -20,7 +20,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{eskdsect}[2006/08/26 v0.96 Sectioning] +\ProvidesPackage{eskdsect}[2006/12/16 v0.97 Sectioning] \newcommand{\ESKD@point@style}{single} @@ -112,10 +112,13 @@ \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] @@ -146,6 +149,10 @@ \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}% @@ -171,3 +178,12 @@ \end{list}% \par\nobreak\addvspace{\ESKDappendixSkip}} +\renewcommand\tableofcontents{% + \begingroup + \ESKDsectAlign{section}{Center} + \section*{\contentsname + \@mkboth{% + \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% + \endgroup + \@starttoc{toc}} + |