From 306df1f1d078980b8920ebba229c3c7d2840f963 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 29 Oct 2016 10:41:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B0=D1=81=D1=81=D1=82=D0=BE=D1=8F?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BC=D0=B5=D0=B6=D0=B4=D1=83=20=D0=BD?= =?UTF-8?q?=D0=BE=D0=BC=D0=B5=D1=80=D0=BE=D0=BC=20=D0=B8=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D0=B8=20=D1=80=D0=B0=D0=B7=D0=B4?= =?UTF-8?q?=D0=B5=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- espdsect.sty | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) 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}