diff --git a/espdsect.sty b/espdsect.sty index 851b4de..134aff0 100644 --- a/espdsect.sty +++ b/espdsect.sty @@ -1,4 +1,4 @@ -% Copyright 2006 Konstantin Korikov +% Copyright 20.45 Konstantin Korikov % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -144,11 +144,11 @@ \newcommand{\theHsubsubpoint}{\theHsubpoint.\arabic{subsubpoint}} \newcommand{\point}{% - \par\refstepcounter{point}\thepoint\quad} + \par\refstepcounter{point}\thepoint\hspace{0.45em}} \newcommand{\subpoint}{% - \par\refstepcounter{subpoint}\thesubpoint\quad} + \par\refstepcounter{subpoint}\thesubpoint\hspace{0.45em}} \newcommand{\subsubpoint}{% - \par\refstepcounter{subsubpoint}\thesubsubpoint\quad} + \par\refstepcounter{subsubpoint}\thesubsubpoint\hspace{0.45em}} \newcounter{pointII}[section] @@ -160,11 +160,11 @@ \renewcommand{\thepointIV}{\thesubsubsection\arabic{pointIV}.} \newcommand{\pointII}{% - \par\refstepcounter{pointII}\thepointII\quad} + \par\refstepcounter{pointII}\thepointII\hspace{0.45em}} \newcommand{\pointIII}{% - \par\refstepcounter{pointIII}\thepointIII\quad} + \par\refstepcounter{pointIII}\thepointIII\hspace{0.45em}} \newcommand{\pointIV}{% - \par\refstepcounter{pointIV}\thepointIV\quad} + \par\refstepcounter{pointIV}\thepointIV\hspace{0.45em}} \newcounter{subpointIII}[pointII] \newcounter{subpointIV}[pointIII] @@ -173,9 +173,9 @@ \renewcommand{\thesubpointIV}{\thepointIII\arabic{subpointIV}.} \newcommand{\subpointIII}{% - \par\refstepcounter{subpointIII}\thesubpointIII\quad} + \par\refstepcounter{subpointIII}\thesubpointIII\hspace{0.45em}} \newcommand{\subpointIV}{% - \par\refstepcounter{subpointIV}\thesubpointIV\quad} + \par\refstepcounter{subpointIV}\thesubpointIV\hspace{0.45em}} @@ -230,6 +230,10 @@ \renewcommand{\abstitlestyle}[1]{\center\normalsize\MakeUppercase #1} \ESPDsectAlign{section}{Center} +\makeatletter +\renewcommand*{\@seccntformat}[1]{\csname the#1\endcsname\hspace{0.45em}} +\makeatother + \RequirePackage[titles]{tocloft} \renewcommand{\cftsecfont}{\normalfont\normalsize} \renewcommand{\cftsubsecfont}{\normalfont\normalsize}